Skip to content
Snippets Groups Projects
Commit b18c047b authored by Anja Leichsenring's avatar Anja Leichsenring Committed by Christian Kuhn
Browse files

[TASK] Replace GeneralUtility::getIndpEnv('REQUEST_URI')

If a reqest object already is around,
$request->getAttribute('normalizedParams')->getRequestUri()
can be used as a drop in replacement.
As a fallback $GLOBALS['TYPO3_REQUEST'] is almost always
available and contains the request object.

Resolves: #93178
Releases: master
Change-Id: I2bb13a54e6b8705be5783042a4f67f9735c627a3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67255


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 38b3680e
Branches
Tags
Showing
with 74 additions and 33 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment