[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 75/173: mantis #1690: Bug : impossible d'util
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 75/173: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<" |
Date: |
Mon, 22 Mar 2021 12:58:48 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit c5a25dd3339eff359f21ac6affd05f1ce19cf5a9
Author: Dany De Bontridder <dany@alchimerys.be>
AuthorDate: 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] 56/173: Mantis #1626: AFFICHAGE BALANCE FICHE - soldes nuls au débit, (continued)
- [Noalyss-commit] [noalyss] 56/173: Mantis #1626: AFFICHAGE BALANCE FICHE - soldes nuls au débit, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 58/173: Mantis #1665: Pouvoir modifier l'ordre dans les listing de compta analytique, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 59/173: 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, 2021/03/22
- [Noalyss-commit] [noalyss] 42/173: Currency - fix view, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 52/173: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, add action CSV:Analytic_Axis, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 67/173: Wrong merge broke fiche.class.php, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 64/173: CSS : cosmetic, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 68/173: Fix broken merge, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 71/173: Cosmetic adapt color, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 74/173: TEST : fix some little bugs, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 75/173: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<",
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 21/173: Currency : for misc. operation, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 76/173: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 79/173: Merge with dev7109, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 72/173: Mantis #0001618: Journaux - choix du type en premier, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 77/173: translation, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 80/173: Merge branch 'master' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 82/173: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 88/173: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 26/173: Currency : history for accounting , correct amount in currency, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 28/173: remove commented code, Dany De Bontridder, 2021/03/22