Révision | adfdd2c0cede5faa7c91c1b01049011c177c0df3 (tree) |
---|---|
l'heure | 2004-12-05 20:47:33 |
Auteur | henoheno <henoheno> |
Commiter | henoheno |
BugTrack/651 XSS vulnerability in ls2.inc.php
@@ -1,5 +1,5 @@ | ||
1 | 1 | <?php |
2 | -// $Id: ls2.inc.php,v 1.1.2.4 2004/07/31 03:15:07 henoheno Exp $ | |
2 | +// $Id: ls2.inc.php,v 1.1.2.5 2004/12/05 11:47:33 henoheno Exp $ | |
3 | 3 | /* |
4 | 4 | Last-Update:2002-10-29 rev.8 |
5 | 5 |
@@ -168,7 +168,7 @@ function ls2_check_arg($val, $key, &$params) { | ||
168 | 168 | } |
169 | 169 | $params['_done'] = TRUE; |
170 | 170 | } |
171 | - $params['_args'][] = $val; | |
171 | + $params['_args'][] = htmlspecialchars($val); | |
172 | 172 | } |
173 | 173 | |
174 | 174 | ?> |