Fix a bug introduced when we patched the "disallowed global data"

security check.  Not sure why the patch worked for some and not for
others, but this should resolve it either way.  Fixes ticket #1123.
This commit is contained in:
Bharat Mediratta
2010-04-10 17:01:48 -07:00
parent 2657d08586
commit c9edb943f9
2 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -26,6 +26,6 @@ class Input extends Input_Core {
* @return string
*/
public function clean_input_keys($str) {
return preg_replace('#^[\pL0-9:_.-]++$#uD', '_', $str);
return preg_replace('#[^a-zA-Z0-9:_.-]+#', '_', $str);
}
}