Project

General

Profile

Bug #24807 ยป 17307.diff

Administrator Admin, 2011-01-25 18:16

View differences:

t3lib/thumbs.php (Arbeitskopie)
$file = PATH_site.substr($file,3);
}
$mtime = 0;
// Now the path is absolute.
// Checking for backpath and double slashes + the thumbnail can be made from files which are in the PATH_site OR the lockRootPath only!
if (t3lib_div::isAllowedAbsPath($file)) {
......
$this->mtime = $mtime;
} else {
throw new RuntimeException(
'TYPO3 Fatal Error: Image does not exist and/or MD5 checksum did not match.',
'TYPO3 Fatal Error: Image \'' . $file . '\' does not exist and/or MD5 checksum did not match.',
1270853950
);
}
    (1-1/1)