commit 029ab8b381d19b5cf5ad0933cac42583a0567134
parent 598f41f5938b8b96e9bce8e1e78ece6d30f9eb02
Author: dankert <devnull@localhost>
Date: Wed, 23 Sep 2009 23:56:13 +0200
In Request-Variablen per default den Unterstrich erlauben.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/actionClasses/Action.class.php b/actionClasses/Action.class.php
@@ -144,11 +144,12 @@ class Action
return Text::clean($value,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789:!"ยง$%&/()=?._- '.chr(10).chr(13));
case 'full':
- default:
+ default:
$value = $REQ[ $varName ];
$allowed = ' ';
for ($i = 40; $i <= 59; $i++) $allowed .= chr($i); // Zahlen
for ($i = 65; $i <= 93; $i++) $allowed .= chr($i); // ABC
+ $allowed .= chr(95); // _
for ($i = 97; $i <= 122; $i++) $allowed .= chr($i); // abc
for ($i = 192; $i <= 255; $i++) $allowed .= chr($i); // Sonderzeichen
return Text::clean($value,$allowed);