Add missing return to handleError in admin server

Thanks to @Wernerina's LLM for finding this bug
This commit is contained in:
Matthew Holt 2026-03-25 16:33:24 -06:00
parent 5d189aff40
commit c35ba5588d
No known key found for this signature in database

View file

@ -859,6 +859,7 @@ func (h adminHandler) serveHTTP(w http.ResponseWriter, r *http.Request) {
Err: errors.New("invalid origin 'null'"),
Message: "Buggy browser is sending null Origin header.",
})
return
}
if h.enforceHost {