Project

General

Profile

Actions

Bug #103171

open

Redirect to file with "Force SSL Redirect" broken on iOS browsers

Added by Thorsten May 9 months ago. Updated 9 months ago.

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

Redirect1.png (73.3 KB) Redirect1.png Thorsten May, 2024-02-21 10:56
Redirect2.png (83.9 KB) Redirect2.png Thorsten May, 2024-02-21 10:56
Actions #1

Updated by Chris Müller 9 months ago

  • Status changed from New to Needs Feedback

Without looking deeper, how have you configured your site configuration? Is there "/" as base defined?

Actions #2

Updated by Thorsten May 9 months ago

Chris Müller wrote in #note-1:

Without looking deeper, how have you configured your site configuration? Is there "/" as base defined?

The base is a full domain. I tried in different installations and now also with TYPO3 Version 12. It's the same behaviour there.

Actions

Also available in: Atom PDF