commit 31a81bf70ffa842fcf6bb08b8912c3bf8797cdb8
parent e19f05d9d15a6a69e5aac7a8f6f8f0ad5ecfca70
Author: dankert <devnull@localhost>
Date: Sat, 27 Mar 2010 00:46:38 +0100
In encodeHtml auch Anführungszeichen ('\"') maskieren.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/serviceClasses/Text.class.php b/serviceClasses/Text.class.php
@@ -142,6 +142,7 @@ class Text
function encodeHtml( $inhalt )
{
$inhalt = str_replace('&','&',$inhalt);
+ $inhalt = str_replace('"','"',$inhalt);
$inhalt = str_replace('<','<' ,$inhalt);
$inhalt = str_replace('>','>' ,$inhalt);