From 4b7611419e52abaa4399908784a0a44a12d2d457 Mon Sep 17 00:00:00 2001 From: toranger Date: Thu, 9 May 2019 15:47:34 +0800 Subject: [PATCH] cgi already compact, so remove the / --- helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.go b/helper.go index 5007511..08c5a35 100644 --- a/helper.go +++ b/helper.go @@ -52,7 +52,7 @@ func encodeURIComponent(s string) string { c := s[i] switch c { - case '-', '_', '.', '!', '~', '*', '\'', '(', ')', '/': + case '-', '_', '.', '!', '~', '*', '\'', '(', ')': continue default: // Unreserved according to RFC 3986 sec 2.3