Skip to content
Snippets Groups Projects
Commit 045d4dc5 authored by Oliver Hader's avatar Oliver Hader Committed by Benni Mack
Browse files

[BUGFIX] Consider CGI wrapper for NormalizedParams->getSiteUrl()

When using a CGI wrapper to dispatch the PHP process `ORIG_SCRIPT_NAME`
contains the name of the wrapper script (which is most probably outside
the TYPO3's project root) and leads to invalid prefixes, e.g. resolving
the `siteUrl` incorrectly as `http://ip10.local/fcgi/` instead of
actual `http://ip10.local/`.

Resolves: #89312
Releases: master, 9.5
Change-Id: Ib0732344deb0f2e71e06a4a1929bb712cd4f2239
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63602


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarRiccardo De Contardi <erredeco@gmail.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent d577b18f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment