diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2018-09-01 13:11:18 +0800 |
---|---|---|
committer | Kirill Danshin <kirill@danshin.pro> | 2018-09-05 20:06:18 +0300 |
commit | 50bdd6c77c9c48ace44dbd1992dc11dac84479d9 (patch) | |
tree | 84493d89d016eedea0884788600eeb7897cb0763 /uri_test.go | |
parent | Add SOCKS5 dialer (diff) | |
download | fasthttp-50bdd6c77c9c48ace44dbd1992dc11dac84479d9.tar.gz fasthttp-50bdd6c77c9c48ace44dbd1992dc11dac84479d9.tar.bz2 fasthttp-50bdd6c77c9c48ace44dbd1992dc11dac84479d9.zip |
Fix appendQuotedPath to include all allowed characters
Diffstat (limited to 'uri_test.go')
-rw-r--r-- | uri_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uri_test.go b/uri_test.go index beb4f7d..dcba56e 100644 --- a/uri_test.go +++ b/uri_test.go @@ -275,7 +275,7 @@ func TestURIParse(t *testing.T) { // encoded path testURIParse(t, &u, "aa.com", "/Test%20+%20%D0%BF%D1%80%D0%B8?asdf=%20%20&s=12#sdf", - "http://aa.com/Test%20%2B%20%D0%BF%D1%80%D0%B8?asdf=%20%20&s=12#sdf", "aa.com", "/Test + при", "/Test%20+%20%D0%BF%D1%80%D0%B8", "asdf=%20%20&s=12", "sdf") + "http://aa.com/Test%20+%20%D0%BF%D1%80%D0%B8?asdf=%20%20&s=12#sdf", "aa.com", "/Test + при", "/Test%20+%20%D0%BF%D1%80%D0%B8", "asdf=%20%20&s=12", "sdf") // host in uppercase testURIParse(t, &u, "FOObar.COM", "/bC?De=F#Gh", |