f1c8dc647042c512294573c559b9e7a9077b6702
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Important-68128-PHPMagicQuoteHandlingRemoved.rst
1 ====================================================
2 Important: #68128 - PHP Magic Quote Handling removed
3 ====================================================
4
5 Description
6 ===========
7
8 In PHP versions prior to PHP 5.4 the option of adding slashes (magic quotes) to the superglobals ``$_GET`` and ``$_POST`` was causing inconsistent data handling. TYPO3 has therefore always added slashes to these variables
9 on every request to streamline the handling of the superglobals. The corresponding methods ``GeneralUtility::_GET()``, ``GeneralUtility::_GP()`` and ``GeneralUtility::_POST()`` have been changed to not strip off slashes anymore.
10
11 Since the PHP option was completely removed, TYPO3 is not adding slashes anymore, and also does not strip
12 the slashes anymore when using the methods within GeneralUtility.