Commit f9753264 authored by Marc Bastian Heinrichs's avatar Marc Bastian Heinrichs Committed by Richard Haeser
Browse files

[DOCS] Reference to function for better usage does not exist

Function getScriptPath is not implemented. PHPDoc block of function
getPathInfo points to getScriptName.

Resolves: #94095
Releases: master, 10.4, 9.5
Change-Id: I6329cff8ace4a3b5562e6d2d568dbed6d69c0ae5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69113

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
parent 1b8efb4b
......@@ -53,7 +53,7 @@ Some further old :php:`getIndpEnv()` arguments directly access :php:`$request->s
normalization. These have been transferred to the new class, too, but will be deprecated later if the core does not use
these anymore:
- :php:`PATH_INFO` is now :php:`->getPathInfo()`, but better use :php:`->getScriptPath()` instead
- :php:`PATH_INFO` is now :php:`->getPathInfo()`, but better use :php:`->getScriptName()` instead
- :php:`HTTP_REFERER` is now :php:`->getHttpReferer()`, but better use :php:`$request->getServerParams()['HTTP_REFERER']` instead
- :php:`HTTP_USER_AGENT` is now :php:`->getHttpUserAgent()`, but better use :php:`$request->getServerParams()['HTTP_USER_AGENT']` instead
- :php:`HTTP_ACCEPT_ENCODING` is now :php:`->getHttpAcceptEncoding()`, but better use :php:`$request->getServerParams()['HTTP_ACCEPT_ENCODING']` instead
......@@ -68,4 +68,4 @@ Impact
The PSR-7 request objects created by TYPO3 now contain an instance of :php:`NormalizedParams` which can
be used instead of :php:`GeneralUtility::getIndpEnv()` to access normalized server params.
.. index:: PHP-API
\ No newline at end of file
.. index:: PHP-API
Markdown is supported
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