Re-entered special characters that were removed in previous commit

This commit is contained in:
pricetx 2015-12-28 21:47:14 +00:00
parent 5998e65ca2
commit e3524b36b0
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ function getFlag($flag, $type='url')
*/
function valid_request($str, $numeric = false)
{
$search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`<EFBFBD>':;߲<>#+~_\-|<>\/\\\\@{}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ]/");
$search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`´':;߲ł#+~_\-|<>\/\\\\@{}äöüÄÖÜ ]/");
$replace_pattern = array('');
$str = preg_replace($search_pattern, $replace_pattern, $str);
if ( $numeric == false )