From 15401fa886b707ae2a42b95fa6cf313685306492 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 4 Mar 2019 12:03:39 +0100 Subject: CURLU: fix NULL dereference when used over proxy Test 659 verifies Also fixed the test 658 name Closes #3641 --- tests/data/test659 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 tests/data/test659 (limited to 'tests/data/test659') diff --git a/tests/data/test659 b/tests/data/test659 new file mode 100644 index 000000000..43e1aaf92 --- /dev/null +++ b/tests/data/test659 @@ -0,0 +1,54 @@ + + + +HTTP +HTTP GET +CURLOPT_CURLU +proxy + + + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + + +http + + +lib659 + + +CURLOPT_CURLU without the path set - over proxy + + +http://%HOSTIP:%HTTPPORT + + + + + +^User-Agent:.* + + +GET http://www.example.com:80/ HTTP/1.1 +Host: www.example.com +Accept: */* +Proxy-Connection: Keep-Alive + + + + + -- cgit v1.2.3