[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 07/107: mantis #1690: Bug : impossible d'util
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 07/107: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<" |
Date: |
Mon, 26 Aug 2019 10:31:46 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 6280cc83654201da092617da2b79fe72ce199135
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] branch master updated (513424f -> a68b6a8), Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 02/107: Fix bug with payment method, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 07/107: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<",
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 08/107: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 11/107: Security : replace $_GET by Http_Input + translate, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 13/107: Icon_Action : add icon for menu, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 16/107: Icon_Action add icon for locking , unlocking, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 24/107: Debug : Add memory info, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 18/107: Mantis #0001651: Problème avec totaux en CA, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 09/107: translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 04/107: Php7.2 incompatibility, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 10/107: Security : replace $_GET by Http_Input, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 06/107: TEST : fix some little bugs, Dany De Bontridder, 2019/08/26