Bug #77989
closedPSR-7 ServerRequest array properties must be initialized as arrays
100%
Description
All the PSR-7 Request/Response object properties which are expected to be arrays when accessed must be initialized as arrays from the beginning. Otherwise this raises errors, when e.g. queryParams or attributes are accessed, which may not be initialized from outside with the correspoding `with*()` method.
Since the PSR-7 implementation is inspired by `phly/http/` which is superseded by `zend-diactoros`, it's perfectly to fix this, as this is fixed in diactoros too (Comparing the abandoned phly implementation against current diactoros).
Updated by Patrik Karisch about 8 years ago
- Subject changed from PSR-7 Request/Response array properties must be initialized as arrays to PSR-7 ServerRequest array properties must be initialized as arrays
Updated by Gerrit Code Review about 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49969
Updated by Gerrit Code Review about 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49969
Updated by Gerrit Code Review about 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49970
Updated by Patrik Karisch about 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 792d5ad413fd75ad272ca68965407b15f19f42f9.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed