Browse Source

url encode without /

tags/v0.7.8
alantong 6 years ago
parent
commit
44c9c3fb79
  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