diff options
Diffstat (limited to 'cmd/monfront')
-rw-r--r-- | cmd/monfront/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/monfront/main.go b/cmd/monfront/main.go index a4855d8..15d2661 100644 --- a/cmd/monfront/main.go +++ b/cmd/monfront/main.go @@ -236,7 +236,7 @@ func checkAction(w http.ResponseWriter, r *http.Request) { log.Printf("could not adjust checks %#v: %s", checks, err) return } - ref, found := r.Header["Referrer"] + ref, found := r.Header["Referer"] if found { w.Header()["Location"] = ref } else { @@ -541,6 +541,7 @@ var ( <html> <head> <title>{{ .Title }}</title> + <meta name="referrer" content="same-origin"> <link rel="shortcut icon" href="/static/favicon" /> <style type="text/css"> * { font-size: 100%; } |