[BUGFIX] Ignore cURL proxy header block 94/47294/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, 4 Apr 2016 20:30:15 +0000 (22:30 +0200)
commitd81e40d414346c2a758a66cea8d7068e026b2cd5
tree3222cc71f6d09270b023aa81357a3147bfcb8a9e
parent56d13abc573146d07e181b78a6b81e934956287f
[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/47294
Reviewed-by: Jonas Götze <jonnsn@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/core/Classes/Utility/GeneralUtility.php