From b87151f075994d64e7eaf6eaf0aea265edc15e9e Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Thu, 9 Feb 2006 23:53:39 +0000 Subject: [PATCH] =?UTF-8?q?pas=20besoin=20de=20filtres=20de=20s=C3=A9curit?= =?UTF-8?q?=C3=A9=20sur=20#PARAMETRES=5FFORUM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc-balises.php3 | 2 +- inc-compilo-index.php3 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/inc-balises.php3 b/inc-balises.php3 index 7fed30febf..d0ca6e2e29 100644 --- a/inc-balises.php3 +++ b/inc-balises.php3 @@ -696,7 +696,7 @@ function balise_PARAMETRES_FORUM_dist($p) { $p->code .= code_invalideur_forums($p, "(".$c.")"); - #$p->interdire_scripts = true; + $p->interdire_scripts = false; return $p; } diff --git a/inc-compilo-index.php3 b/inc-compilo-index.php3 index 66ed60c0c9..85ac61cc81 100644 --- a/inc-compilo-index.php3 +++ b/inc-compilo-index.php3 @@ -318,7 +318,8 @@ function champs_traitements ($p) { case 'signatures': case 'syndic_articles': $champs_surs = array( - 'date', 'date_heure', 'statut', 'ip', 'url_article', 'maj', 'idx'); + 'date', 'date_heure', 'statut', 'ip', 'url_article', 'maj', 'idx', + 'parametres_forum'); if (!in_array(strtolower($p->nom_champ), $champs_surs) AND !preg_match(',^ID_,', $p->nom_champ)) $ps = 'safehtml('.$ps.')'; -- GitLab