Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.com/drk1wi/Modlishka

  • Loading branch information...
drk1wi committed Jun 4, 2019
2 parents a7a5c65 + 770e227 commit c4e16edc2e4492d6a72f707cc37146f7a0950492
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/server.go
@@ -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
}

0 comments on commit c4e16ed

Please sign in to comment.
You can’t perform that action at this time.