From: Jens Frank Date: Wed, 8 Dec 2004 10:50:08 +0000 (+0000) Subject: prevent javascript insertion X-Git-Tag: 1.5.0alpha1~1126 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=e0f423faf7af5c85ce047d25f443b4c4d3ea8fc6;p=lhc%2Fweb%2Fwiklou.git prevent javascript insertion --- diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index acbfc9b95b..6c778af0b1 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -123,7 +123,7 @@ class ImageGallery ''. '
' . $sk->makeKnownLinkObj( $nt, '' ) . '
' . - $textlink . $text . $nb; + $textlink . htmlspecialchars( $text ) . $nb; $s .= "\n" . (($i%4==3) ? "\n" : '');