Bug #24224 » 0016593.patch
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;
|