Actions
Bug #77028
closedhandleMagicQuotesGpc() leads to exception
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2016-07-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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; } }
Actions