X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fexec%2Frechercher.php;h=e50229a68899c33ba097509473fee4e3ae6f1966;hp=cf67f9467c1124025cd482734f6fd01b0c3aa473;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916
diff --git a/www/ecrire/exec/rechercher.php b/www/ecrire/exec/rechercher.php
index cf67f946..e50229a6 100644
--- a/www/ecrire/exec/rechercher.php
+++ b/www/ecrire/exec/rechercher.php
@@ -3,7 +3,7 @@
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2012 *
+ * Copyright (c) 2001-2014 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
@@ -20,7 +20,7 @@ function exec_rechercher_dist()
{
$id = intval(_request('id'));
$exclus = intval(_request('exclus'));
- $rac = htmlentities(_request('rac'));
+ $rac = spip_htmlentities(_request('rac'));
$type = _request('type');
$do = _request('do');
if (preg_match('/^\w*$/', $do))
@@ -106,7 +106,7 @@ function proposer_item ($ids, $titles, $rac, $type, $do)
if (!$ids)
return "