Actions
Bug #100488
openBroken Response creation in core
Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-04-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
sysext/frontend/Classes/Middleware/StaticRouteResolver.php
return new Response('Invalid route', 404, ['Content-Type' => 'text/plain']);
This triggers a warning in Stream __construct() fopen().
For a basic fix, see #100487, headers might be a topic at other places, too.
There are some further places in core that should be checked. Grep for 'new Response' and check factory usages as well.
Updated by Christian Kuhn about 1 year ago
- Related to Task #100487: Fix response creation in tests added
Actions