diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-03-15 14:18:16 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-03-15 14:18:16 +0100 |
commit | e4b733e3f1a771bd1017cdcfb355fcb9caffe646 (patch) | |
tree | 862fa85997d33e26f9e30b7949cbddfb6ad8f91a /tests/data/test2031 | |
parent | b50285d751855440252904c76995b6de193c2dc2 (diff) |
HTTP proxy: insert slash in URL if missing
curl has been accepting URLs using slightly wrong syntax for a long
time, such as when completely missing as slash "http://example.org" or
missing a slash when a query part is given
"http://example.org?q=foobar".
curl would translate these into a legitimate HTTP request to servers,
although as was shown in bug #1206 it was not adjusted properly in the
cases where a HTTP proxy was used.
Test 1213 and 1214 were added to the test suite to verify this fix.
The test HTTP server was adjusted to allow us to specify test number in
the host name only without using any slashes in a given URL.
Bug: http://curl.haxx.se/bug/view.cgi?id=1206
Reported by: ScottJi
Diffstat (limited to 'tests/data/test2031')
0 files changed, 0 insertions, 0 deletions