[BUGFIX] Reallow custom request context in getUrl 08/46208/3
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:13:36 +0000 (13:13 +0100)
commit9543b7f818089cef546877b222f0901def0816b2
tree87b803e8a36f2f7171f6ee863ce429c956597f5b
parentcbf64b32abec05b92e35d88281e23bdf084f38bc
[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/46208
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Ralf Merz <info@merzilla.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php