commit a3c8b45049219b312dab10b1a0f000746cc3f061 parent 3298ad3bba8208fede27f1bb78767aa53086c82c Author: dankert <devnull@localhost> Date: Mon, 30 Nov 2009 22:46:47 +0100 Zeichen '{}#\"%' in Eingabe erlauben Diffstat:
actionClasses/Action.class.php | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/actionClasses/Action.class.php b/actionClasses/Action.class.php @@ -145,14 +145,15 @@ class Action case 'text': $value = $REQ[ $varName ]; - return Text::clean($value,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789:!"§$%&/()=?._- '.chr(10).chr(13)); + return Text::clean($value,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789:!"§$%&/(){}#=?._- '.chr(10).chr(13)); case 'full': default: $value = $REQ[ $varName ]; $allowed = ' '; - for ($i = 40; $i <= 59; $i++) $allowed .= chr($i); // Zahlen - $allowed .= '@?&='; + for ($i = 40; $i <= 59; $i++) $allowed .= chr($i); // Zahlen + $allowed .= chr(10).chr(13); + $allowed .= '@?&={}#"%'; for ($i = 63; $i <= 93; $i++) $allowed .= chr($i); // ?@ABC $allowed .= chr(95); // _ for ($i = 97; $i <= 122; $i++) $allowed .= chr($i); // abc