[BUGFIX] PSR-7 responses return header using getHeader() 52/56952/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 11 Mar 2018 06:02:30 +0000 (07:02 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 13 May 2018 09:51:10 +0000 (11:51 +0200)
commit5fe266fb83c3c374763d70b665b97cd7b58c1e09
tree4b2afaa88eac5a1ebd5c2dcd634c8085807eb6c2
parentb25ecd3618b9903a8758f94f2666d1cbd242f0f0
[BUGFIX] PSR-7 responses return header using getHeader()

The base PSR-7 implementation of the Response object does not
sanitize the headers properly when handing them in as an array,
thus, it is stored wrong in the Response object.

Resolves: #84853
Releases: master, 8.7
Change-Id: I7571f1438bc602bcae9367b82f99946ed22d8308
Reviewed-on: https://review.typo3.org/56952
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Http/Response.php
typo3/sysext/core/Tests/Unit/Http/ResponseTest.php