Browse Source

cgi already compact, so remove the /

tags/v0.7.8
toranger 6 years ago
parent
commit
4b7611419e
  1. 2
      helper.go

2
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

Loading…
Cancel
Save