Re-entered special characters that were removed in previous commit
This commit is contained in:
parent
5998e65ca2
commit
e3524b36b0
@ -89,7 +89,7 @@ function getFlag($flag, $type='url')
|
|||||||
*/
|
*/
|
||||||
function valid_request($str, $numeric = false)
|
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('');
|
$replace_pattern = array('');
|
||||||
$str = preg_replace($search_pattern, $replace_pattern, $str);
|
$str = preg_replace($search_pattern, $replace_pattern, $str);
|
||||||
if ( $numeric == false )
|
if ( $numeric == false )
|
||||||
|
Loading…
Reference in New Issue
Block a user