diff options
-rwxr-xr-x | portdb/portdb/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portdb/portdb/index.php b/portdb/portdb/index.php index 01253ae..bb1b2b4 100755 --- a/portdb/portdb/index.php +++ b/portdb/portdb/index.php @@ -13,7 +13,7 @@ function nospam($mail) { } function sanitize($str) { - return $str; + return preg_replace("/[^[:alnum:][:space:]_+-\.]/ui", '', $str); } function localrepo($name) { |