From 0b7b9983a58e7a1fe313fafe3c3b4c0e431e2639 Mon Sep 17 00:00:00 2001 From: Seednode Date: Sat, 17 Sep 2022 13:38:07 -0500 Subject: [PATCH] Fixed bug where -v + -s stops -s from working --- cmd/web.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)