[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 195/218: mantis #1690: Bug : impossible d'uti
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 195/218: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<" |
Date: |
Thu, 12 Sep 2019 15:59:08 -0400 (EDT) |
sparkyx pushed a commit to branch entreprise
in repository noalyss.
commit c5a25dd3339eff359f21ac6affd05f1ce19cf5a9
Author: Dany De Bontridder <address@hidden>
Date: Wed Feb 13 22:44:20 2019 +0100
mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit
Replace strip_tags , add a space before the "<"
---
include/lib/http_input.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/lib/http_input.class.php b/include/lib/http_input.class.php
index 5a5be5f..77b3e12 100644
--- a/include/lib/http_input.class.php
+++ b/include/lib/http_input.class.php
@@ -110,7 +110,7 @@ class HttpInput
if (array_key_exists($p_name,$this->array) )
{
$this->check_type($p_name, $p_type);
- if ( is_string($this->array[$p_name]) ) return
strip_tags($this->array[$p_name]);
+ if ( is_string($this->array[$p_name]) ) return
preg_replace("/</","< ", $this->array[$p_name]);
return $this->array[$p_name];
}
else
@@ -124,7 +124,7 @@ class HttpInput
EXC_PARAM_VALUE);
}
$this->check_type($p_name, $p_type);
- if ( is_string($this->array[$p_name]) ) return
strip_tags($this->array[$p_name]);
+ if ( is_string($this->array[$p_name]) ) return
preg_replace("/</","< ", $this->array[$p_name]);
return $this->array[$p_name];
}
catch (Exception $e)
- [Noalyss-commit] [noalyss] 170/218: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, (continued)
- [Noalyss-commit] [noalyss] 170/218: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 172/218: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, add action CSV:Analytic_Axis, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 179/218: Mantis #1596: Dans le plan comptable, fiches non cliquables Les fiches sont cliquable dans Plan Comptable , PCMNCFG et dans la liste des postes, en plus on peut obtenir toutes les fiches d'un poste, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 191/218: Cosmetic adapt color, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 182/218: Bug : CARD misplace of "Search Card", Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 189/218: Fiche.clasS.php fix broken merge, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 193/218: Php7.2 incompatibility, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 197/218: translation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 192/218: Mantis #0001618: Journaux - choix du type en premier, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 183/218: Fix bug from merge, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 195/218: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<",
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 196/218: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 206/218: Cosmetic, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 203/218: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 207/218: #0001736: PHP7 comptability, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 214/218: Bug : for customer without vat, there is not variable e_march_x_tva, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 218/218: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 180/218: Mantis #0001614: Problème bilans , changement pour bilan ASBL, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 190/218: translate, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 81/218: adapt to 7.2 , error with sizeof, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 204/218: Cosmetic, Dany De Bontridder, 2019/09/12