Project

General

Profile

Bug #56999 ยป patch-typo3-6.2-fal-rawurlencode-bug.diff

patch to rawurldecode given $input in TYPO3\CMS\Core\Resource\ResourceFactory-> - Stephan Jorek, 2014-03-17 16:57

View differences:

typo3/sysext/core/Classes/Resource/ResourceFactory.php
public function retrieveFileOrFolderObject($input) {
// Remove PATH_site because absolute paths under Windows systems contain ':'
// This is done in all considered sub functions anyway
$input = str_replace(PATH_site, '', $input);
$input = str_replace(PATH_site, '', rawurldecode($input));
if (GeneralUtility::isFirstPartOfStr($input, 'file:')) {
$input = substr($input, 5);
    (1-1/1)