Changeset 54044 in spip-zone
- Timestamp:
- Nov 5, 2011, 10:56:54 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/securite/ecran_securite.php
r49987 r54044 6 6 */ 7 7 8 define('_ECRAN_SECURITE', '1.0. 5'); // 26 juil. 20118 define('_ECRAN_SECURITE', '1.0.6'); // 05 nov. 2011 9 9 10 10 /* … … 51 51 $cjpeg_command=''; 52 52 53 /* - controle la variable lang, var_recherche (XSS)54 * 55 */ 56 foreach(array('lang', 'var_recherche' ) as $var) {53 /* - controle la variable lang, var_recherche, aide (XSS) 54 * 55 */ 56 foreach(array('lang', 'var_recherche', 'aide') as $var) { 57 57 if (isset($_GET[$var])) 58 58 $_REQUEST[$var] = $GLOBALS[$var] = $_GET[$var] = preg_replace(',[^\w-]+,',' ',(string)$_GET[$var]);
Note: See TracChangeset
for help on using the changeset viewer.