[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/54: mantis #1690: Bug : impossible d'utili
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/54: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<" |
Date: |
Sat, 11 Jul 2020 13:26:45 -0400 (EDT) |
sparkyx pushed a commit to annotated tag entreprise-0500
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] annotated tag entreprise-0500 created (now bed6fab), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 01/54: translate, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 05/54: TEST : fix some little bugs, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 02/54: Cosmetic adapt color, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 03/54: Mantis #0001618: Journaux - choix du type en premier, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 04/54: Php7.2 incompatibility, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 06/54: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<",
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 07/54: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 08/54: translation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 10/54: Merge with dev7109, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 12/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 09/54: Merge branch 'entreprise' of gitlab.noalyss.eu:noalyss/noalyss into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 13/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 14/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 18/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 19/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 20/54: Apparence 7.1, Dany De Bontridder, 2020/07/11