dépôts
/
ptitvelo
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~maj v3.0.14-->v3.0.17
[ptitvelo/web/www.git]
/
www
/
config
/
ecran_securite.php
diff --git
a/www/config/ecran_securite.php
b/www/config/ecran_securite.php
index
7e6ec1c
..
36b0044
100644
(file)
--- a/
www/config/ecran_securite.php
+++ b/
www/config/ecran_securite.php
@@
-5,7
+5,7
@@
* ------------------
*/
* ------------------
*/
-define('_ECRAN_SECURITE', '1.1.
8'); // 2013-08-29
+define('_ECRAN_SECURITE', '1.1.
9'); // 2014-03-13
/*
* Documentation : http://www.spip.net/fr_article4200.html
/*
* Documentation : http://www.spip.net/fr_article4200.html
@@
-254,13
+254,12
@@
if (isset($_REQUEST['connect'])
AND
// cas qui permettent de sortir d'un commentaire PHP
(strpos($_REQUEST['connect'], "?")!==false
AND
// cas qui permettent de sortir d'un commentaire PHP
(strpos($_REQUEST['connect'], "?")!==false
+ OR strpos($_REQUEST['connect'], "<")!==false
OR strpos($_REQUEST['connect'], ">")!==false
OR strpos($_REQUEST['connect'], "\n")!==false
OR strpos($_REQUEST['connect'], "\r")!==false)
) {
OR strpos($_REQUEST['connect'], ">")!==false
OR strpos($_REQUEST['connect'], "\n")!==false
OR strpos($_REQUEST['connect'], "\r")!==false)
) {
- $_REQUEST['connect'] = str_replace(array("?", ">", "\r", "\n"), "", $_REQUEST['connect']);
- if (isset($_GET['connect'])) $_GET['connect'] = $_REQUEST['connect'];
- if (isset($_POST['connect'])) $_POST['connect'] = $_REQUEST['connect'];
+ $ecran_securite_raison = "malformed connect argument";
}
/*
}
/*
@@
-317,4
+316,4
@@
if (
}
}
-?>
+?>
\ No newline at end of file