#77028handleMagicQuotesGpc() leads to exception
Description
If we want to call an extbase controller which has a “\” inside, because we want to call a SubController which inherits from some other controller than the handleMagicQuotesGpc()`which calls addSlashesOnArray() adds a slash to much and this leads to an exception during bootstrap->run().
We comment out the two lines in SystemEnvironmentBuilder
/**
* Compatibility layer for magic quotes
*
* @return void
*/
static protected function handleMagicQuotesGpc() {
if (!get_magic_quotes_gpc()) {
// \TYPO3\CMS\Core\Utility\GeneralUtility::addSlashesOnArray($_GET);
// \TYPO3\CMS\Core\Utility\GeneralUtility::addSlashesOnArray($_POST);
$GLOBALS['HTTP_GET_VARS'] = $_GET;
$GLOBALS['HTTP_POST_VARS'] = $_POST;
}
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.