Browse Source

Merge pull request #14 from toranger/master

url encode without /
tags/v0.7.8
toranger 6 years ago
committed by GitHub
parent
commit
3a9e2d62a9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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