noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 56/151: IText add htmlentities to protect


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 56/151: IText add htmlentities to protect
Date: Sat, 4 Feb 2017 17:14:27 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit db8d0a5195aa51d016ee8d8905a41f4473f1c362
Author: Dany De Bontridder <address@hidden>
Date:   Tue May 10 21:23:36 2016 +0200

    IText add htmlentities to protect
---
 include/lib/class_itext.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/lib/class_itext.php b/include/lib/class_itext.php
index de639ef..f019873 100644
--- a/include/lib/class_itext.php
+++ b/include/lib/class_itext.php
@@ -56,7 +56,7 @@ class IText extends HtmlInput
                     ',$this->style,
                     $this->id,
                     $this->name,
-                    $this->value,
+                    htmlentities($this->value),
                     $this->placeholder,
                     $this->title,
                     $this->size,
@@ -70,7 +70,7 @@ class IText extends HtmlInput
                     ',$this->style,
                     $this->id,
                     $this->name,
-                    $this->value,
+                    htmlentities($this->value),
                     $this->placeholder,
                     $this->title,
                     $this->css_size,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]