Update controller.go

This commit is contained in:
Tweak
2022-02-01 21:57:08 -07:00
committed by GitHub
parent 55da265732
commit e767c088cd

View File

@@ -63,7 +63,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if h.commonCfg.HostName != hostPort &&
!strings.HasPrefix(hostPort, h.hostNameChecker) {
clientLogger.Warning("Request invalid host \"%s\", deined",
clientLogger.Warning("Requested invalid host \"%s\", denied access",
r.Host)
serveFailure(