Task #68128

Remove magic quote handling from $_GET / $_POST

Added by Benni Mack almost 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2015-07-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The magic quote functionality was removed with PHP 5.4.0.
In previous PHP versions this was a switch to turn on/off adding
slashes to the _GET and _POST superglobals.

TYPO3 however was always adding slashes at every request
and using GeneralUtility::_GP() etc. to remove the slashes again.

As the PHP functionality is now removed, meaning there are no
slashes added at all, TYPO3 can now use the non-slashed data
inside the superglobals directly.

Also available in: Atom PDF