Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/drk1wi/Modlishka
Browse files Browse the repository at this point in the history
  • Loading branch information
drk1wi committed Jun 4, 2019
2 parents a7a5c65 + 770e227 commit c4e16ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server.go
Expand Up @@ -49,7 +49,7 @@ func (conf *ServerConfig) MainHandler(w http.ResponseWriter, r *http.Request) {
targetDomain,newTLS,TLSvalue := runtime.TranslateRequestHost(r.Host)

if !*conf.DisableSecurity && runtime.IsValidRequestHost(r.Host, runtime.ProxyDomain) == false {
log.Infof("Redirecting client to %s",runtime. TopLevelDomain)
log.Infof("Redirecting client to %s",runtime.TopLevelDomain)
Redirect(w, r, "")
return
}
Expand Down

0 comments on commit c4e16ed

Please sign in to comment.