diff --git a/redirector.go b/redirector.go
index 67004c4..9db0f99 100644
--- a/redirector.go
+++ b/redirector.go
@@ -9,19 +9,19 @@ import (
)
func main() {
- var response = ""
- response += "
"
- response += "Redirecting..."
- response += ""
- response += ""
- response += ""
- response += "Just switch to https up there ↑"
- response += ""
- response += ""
+ var response = `
+
+
+Redirecting...
+
+
+
+Just switch to https up there ↑
+
+
+`
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
- log.Printf("Got an %s request from %s: %s (%s)",
+ log.Printf("Got a %s request from %s: %s (%s)",
r.Proto, r.RemoteAddr, r.URL, r.Host)
// this matches urls like chrissx.de.evil.com, but
// there are no ways to exploit that (except if there