Commit 637233e1 authored by Christoph Hofmann's avatar Christoph Hofmann

update

parent c521ff81
......@@ -642,7 +642,7 @@ class tx_realurl {
'setup' => $setup
);
$prevVal = $GETvarVal;
$GETvarVal = t3lib_div::callUserFunction($setup['userFunc'], $params, $this);
$GETvarVal = \TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction($setup['userFunc'], $params, $this);
$pathParts[] = rawurlencode($GETvarVal);
$this->cHashParameters[$GETvar] = $prevVal;
} elseif (is_array($setup['lookUpTable'])) {
......@@ -1188,7 +1188,7 @@ class tx_realurl {
if (is_array($post_GET_VARS)) {
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($cachedInfo['GET_VARS'], $post_GET_VARS);
}
if (is_array($file_GET_VARS) ) {
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($cachedInfo['GET_VARS'], $file_GET_VARS);
}
......@@ -1439,7 +1439,7 @@ class tx_realurl {
protected function decodeSpURL_decodeFileName(array &$pathParts) {
$getVars = array();
$fileName = array_pop($pathParts);
$fileParts = TYPO3\CMS\Core\Utility\GeneralUtility::revExplode('.', $fileName, 2);
$fileParts = \TYPO3\CMS\Core\Utility\GeneralUtility::revExplode('.', $fileName, 2);
if (count($fileParts) == 2 && !$fileParts[1]) {
$this->decodeSpURL_throw404('File "' . $fileName . '" was not found (2)!');
}
......
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