Disable addslashes() in makeSafe() until more finely grained filtering can be implemented
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
function makeSafe($var)
|
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;
|
return $var;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user