diff --git a/lib/functions.php b/lib/functions.php index 1f1e48c..6e223b1 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -683,14 +683,13 @@ function get_request($attr,$type='POST',$die=false,$default=null,$preventXSS=fal return $value; } /** -* Prevent XSS function -* +* Prevent XSS function. This function can usage has preventXSS(get_request('cmd','REQUEST')) +* Return valor escape XSS. */ function preventXSS($value){ return htmlspecialchars(addslashes($value), ENT_QUOTES, 'UTF-8'); } - * Record a system message. * This function can be used as an alternative to generate a system message, if page hasnt yet been defined. */