[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 23/23: IText , remove double-quote
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 23/23: IText , remove double-quote |
Date: |
Tue, 24 Nov 2020 14:22:45 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit a7236046a0b9da403179da65339fcd22a523ecbe
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Nov 22 17:09:41 2020 +0100
IText , remove double-quote
---
include/lib/itext.class.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/lib/itext.class.php b/include/lib/itext.class.php
index 9cbafc9..e66bb90 100644
--- a/include/lib/itext.class.php
+++ b/include/lib/itext.class.php
@@ -46,6 +46,9 @@ class IText extends HtmlInput
if ( $this->readOnly==true) return $this->display();
$this->id=($this->id=="")?$this->name:$this->id;
+ // Double quote makes troubles
+ $this->value=str_replace('"','',$this->value);
+
$t= 'title="'.$this->title.'" ';
$autofocus=($this->autofocus)?" autofocus ":"";
$require=($this->require)?"required":"";
- [Noalyss-commit] [noalyss] 17/23: Typo, (continued)
- [Noalyss-commit] [noalyss] 17/23: Typo, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 20/23: Fix: template doesn't delete LOB files, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 09/23: IText require , used for admin and password, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 07/23: ANCGL : export CSV add the date of payment, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 16/23: IText : protect against Quote and Double Quote, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 18/23: Merge branch 'dev8000', Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 13/23: Translate , make failed chrome because of HTML in javascript message, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 21/23: CfgPlugin : improve trace, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 19/23: Bug Securimage : fix if session is expired then $code is undefined, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 22/23: Merge branch 'dev8001', Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 23/23: IText , remove double-quote,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 10/23: typo, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 11/23: Small typo, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 12/23: Correct language for Chrome, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 14/23: Bug : Follow Up returns to list, Dany De Bontridder, 2020/11/24