[BUGFIX] Reallow custom request context in getUrl 68/46668/2
authorSascha Egerer <sascha@sascha-egerer.de>
Sun, 24 Jan 2016 11:23:40 +0000 (12:23 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 15 Feb 2016 12:14:47 +0000 (13:14 +0100)
commitd2f92e9a65ee42724551e29b2f4bfd788f69dc44
treea37d6bbc1fe75c1cfe2896b9e867bff5784f322e
parent3957b2d6d3443e4fd3ecbe71d041c05d0fea2632
[BUGFIX] Reallow custom request context in getUrl

In b4813ddb55ab789ddd13e02234f147a44d2af1ed an patch
has been introduced which respects the default stream context
when requesting urls. But the change prevents that custom
stream options (headers) can be set.

The default stream context should be used and extended by the
given custom headers.

Change-Id: I6ec6d23498e194055cefc1c6c63db7c161ee03c6
Resolves: #72907
Related: #70374
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46668
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php