aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-23 15:58:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-28 21:02:37 +0200
commit6ba2e88a642434bd0ffa95465e4a7d034d03ea10 (patch)
tree82958caeabc8de706f5d3ffd0811e5c13e9e1c07 /tests/data
parent1f8a337e41b436bd763ebe57702ce03996359952 (diff)
CURLOPT_HEADEROPT: default to separate
Make the HTTP headers separated by default for improved security and reduced risk for information leakage. Bug: http://curl.haxx.se/docs/adv_20150429.html Reported-by: Yehezkel Horowitz, Oren Souroujon
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test15272
-rw-r--r--tests/data/test2872
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test1527 b/tests/data/test1527
index ee4887ac5..e8d52794b 100644
--- a/tests/data/test1527
+++ b/tests/data/test1527
@@ -45,7 +45,7 @@ http-proxy
lib1527
</tool>
<name>
-Check same headers are generated without CURLOPT_PROXYHEADER
+Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED
</name>
<command>
http://the.old.moo.1527:%HTTPPORT/1527 %HOSTIP:%PROXYPORT
diff --git a/tests/data/test287 b/tests/data/test287
index ec4dfeb05..6772e220f 100644
--- a/tests/data/test287
+++ b/tests/data/test287
@@ -28,7 +28,7 @@ http
HTTP proxy CONNECT with custom User-Agent header
</name>
<command>
-http://test.remote.example.com.287:%HTTPPORT/path/287 -H "User-Agent: looser/2007" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel
+http://test.remote.example.com.287:%HTTPPORT/path/287 -H "User-Agent: looser/2015" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel --proxy-header "User-Agent: looser/2007"
</command>
</client>