[BUGFIX] Send "Set-Cookie" HTTP header as multi line 67/60867/11
authorMarkus Poerschke <markus@poerschke.nrw>
Mon, 3 Jun 2019 15:06:27 +0000 (17:06 +0200)
committerDaniel Goerz <daniel.goerz@posteo.de>
Mon, 1 Jul 2019 18:56:48 +0000 (20:56 +0200)
commitb17c0e0e1d1cd515bad5cb330e1acfa757198b90
tree6fefb7930c9a246c1b6b6d399e598701dd14bf82
parentfd8b301335e52ceb6447a479b82995b02e09a583
[BUGFIX] Send "Set-Cookie" HTTP header as multi line

To set multiple cookies at the same request, the "Set-Cookie" header
must be sent as multi line. The default behavior, a comma separated list,
will cause that only the first cookie is set.

Resolves: #88482
Releases: master, 9.5
Change-Id: Ife4dfeb9e4e7c0452d8da10740450c8cbd26ac3e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60867
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Build/Scripts/annotationChecker.php
typo3/sysext/core/Classes/Http/AbstractApplication.php
typo3/sysext/core/Tests/Unit/Http/AbstractApplicationTest.php [new file with mode: 0644]