From 6ba2e88a642434bd0ffa95465e4a7d034d03ea10 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Apr 2015 15:58:21 +0200 Subject: 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 --- tests/data/test1527 | 2 +- tests/data/test287 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data') 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 -Check same headers are generated without CURLOPT_PROXYHEADER +Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED 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 -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" -- cgit v1.2.3