diff --git a/cmd/web.go b/cmd/web.go index bfd2034..909571f 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -138,11 +138,11 @@ func serveHtmlHandler(paths []string) http.HandlerFunc { if Successive { refererUri := refererToUri(r.Referer()) - if refererUri != "" && Verbose { - fmt.Printf("Referer is %v\n", refererUri) - } - if refererUri != "" { + if Verbose { + fmt.Printf("Referer is %v\n", refererUri) + } + f, err := url.QueryUnescape(refererUri) if err != nil { log.Fatal(err)