[BUGFIX] Ignore cURL proxy header block 08/47308/2
authorAlbrecht Köhnlein <typo3@bestof1983.de>
Fri, 19 Feb 2016 14:28:46 +0000 (15:28 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Mon, 18 Apr 2016 09:34:22 +0000 (11:34 +0200)
commitaed3061cce54aea165349f82ac15ce15561ac090
treee6a7a9c8083efba84803751ab533990f09220541
parent0dd0ce1567077c208c7a30839eb87402c9eec068
[BUGFIX] Ignore cURL proxy header block

When cURL is enabled with a proxy, the proxy’s HTTP header (sent as a
response to the client CONNECT request) was not removed correctly for
https requests.

See also RFC 2817.

Resolves: #73567
Releases: master, 7.6, 6.2
Change-Id: I0f11933f523b099dd23a5bef631699904ffcefc8
(cherry picked from commit 09f1f5632e05a9140a7d65ceca0f38caa5f335eb)
Reviewed-on: https://review.typo3.org/47308
Reviewed-by: Jonas Götze <jonnsn@gmail.com>
Tested-by: Jonas Götze <jonnsn@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Dmitry Dulepov <dmitry.dulepov@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
typo3/sysext/core/Classes/Utility/GeneralUtility.php