Disable addslashes() in makeSafe() until more finely grained filtering can be implemented

This commit is contained in:
Chris Morgan
2006-06-19 15:40:53 +00:00
committed by WineHQ
parent ca3fca2e0a
commit 6ceb14ef92

View File

@@ -2,7 +2,8 @@
function makeSafe($var)
{
$var = trim(addslashes($var));
/* Disable addslashes() until we can use more finely grained filtering on user input */
/* $var = trim(addslashes($var)); */
return $var;
}