Commit 45df4201 authored by Dustri's avatar Dustri
Browse files

Fix an XSS

parent bf1723f2
......@@ -349,7 +349,7 @@ $side->add($lst);*/
$tools = array();
$tools[$wwwtopdir."wiki2/?name=".$pagepath]="Voir la page";
if ( $can_edit )
$tools[$wwwtopdir."wiki2/?name=".$pagepath."&view=edit".(isset($_REQUEST["rev"])?"&rev=".$_REQUEST["rev"]:"")]="Editer";
$tools[$wwwtopdir."wiki2/?name=".$pagepath."&view=edit".(isset($_REQUEST["rev"])?"&rev=".htmlentities($_REQUEST["rev"]):"")]="Editer";
else
$tools[$wwwtopdir."wiki2/?name=".$pagepath."&view=srcs"]="Source";
$tools[$wwwtopdir."wiki2/?name=".$pagepath."&view=refs"]="Références";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment