Project

General

Profile

Bug #24224 » 0016593.patch

Administrator Admin, 2010-12-06 16:11

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
*/
public static function verifyFilenameAgainstDenyPattern($filename) {
if (strcmp($filename, '') && strcmp($GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'], '')) {
$filename = preg_replace('/[[:cntrl:]]/', '', $filename);
$result = preg_match('/' . $GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] . '/i', $filename);
if ($result) {
return FALSE;
(1-1/8)