Actions
Bug #103171
openRedirect to file with "Force SSL Redirect" broken on iOS browsers
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2024-02-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When you create a redirect in the Redirects module that points to a file in fileadmin (t3://file?uid=xxx) and enable force_https, the resulting url looks like 'https:/fileadmin/...'
Most browsers seem to handle this correctly and redirect to the chosen file, but iOS Browsers (Safari, Chrome) don't add the domain an redirect to https://fileadmin/... what leads to an error.
Maybe a problem in /sysext/core/Classes/Http/RedirectResponse.php with setting $headers['location'] = [(string)$uri] or in /sysext/redirects/Classes/Http/Middleware/RedirectHandler.php where buildRedirectResponse is called.
Files
Actions