diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-11-06 23:17:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-11-06 23:17:57 +0100 |
commit | 473003fbdffc4a36e69d396e5164308e3800011d (patch) | |
tree | 6a495ceaff032f32261f6bacaf37cbb80659ea61 /tests | |
parent | 3f203037021d2f656249565e81cf0f4aa93060e9 (diff) |
URL parser: cut off '#' fragments from URLs (better)
The existing logic only cut off the fragment from the separate 'path'
buffer which is used when sending HTTP to hosts. The buffer that held
the full URL used for proxies were not dealt with. It is now.
Test case 5 was updated to use a fragment on a URL over a proxy.
Bug: http://curl.haxx.se/bug/view.cgi?id=3579813
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test5 b/tests/data/test5 index 7a0ebd730..b62f1a127 100644 --- a/tests/data/test5 +++ b/tests/data/test5 @@ -29,7 +29,7 @@ http HTTP over proxy </name> <command> -http://%HOSTIP:%HTTPPORT/we/want/that/page/5 -x %HOSTIP:%HTTPPORT +http://%HOSTIP:%HTTPPORT/we/want/that/page/5#5 -x %HOSTIP:%HTTPPORT </command> </client> |