original_string: public static function verifyFilenameAgainstDenyPattern($filename) {
  			// Filenames are not allowed to contain control characters
  		if (preg_match('/[[:cntrl:]]/', $filename)) {
  			return FALSE;
  		}
  
  		if (strcmp($filename, '') && strcmp($GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'], '')) {
  			$result = preg_match('/' . $GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] . '/i', $filename);
  			if ($result) {
  				return FALSE;
  			} // so if a matching filename is found, return FALSE;
  		}
  		return TRUE;
  	}
code: public static function verifyFilenameAgainstDenyPattern($filename) {
  			// Filenames are not allowed to contain control characters
  		if (preg_match('/[[:cntrl:]]/', $filename)) {
  			return FALSE;
  		}
  
  		if (strcmp($filename, '') && strcmp($GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'], '')) {
  			$result = preg_match('/' . $GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] . '/i', $filename);
  			if ($result) {
  				return FALSE;
  			} // so if a matching filename is found, return FALSE;
  		}
  		return TRUE;
  	}
code_tokens: public static function verifyFilenameAgainstDenyPattern ( $ filename ) { // Filenames are not allowed to contain control characters if ( preg_match ( '/[[:cntrl:]]/' , $ filename ) ) { return FALSE ; } if ( strcmp ( $ filename , '' ) && strcmp ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'BE' ] [ 'fileDenyPattern' ] , '' ) ) { $ result = preg_match ( '/' . $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'BE' ] [ 'fileDenyPattern' ] . '/i' , $ filename ) ; if ( $ result ) { return FALSE ; } // so if a matching filename is found, return FALSE; } return TRUE ; }
docstring: Verifies the input filename against the 'fileDenyPattern'. Returns TRUE if OK.
  
  @param string $filename File path to evaluate
  @return boolean
docstring_tokens: Verifies the input filename against the fileDenyPattern . Returns TRUE if OK .