cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Raw.php

From: Date: Fri, 09 Jun 2006 21:32:24 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Raw.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-40599@lists.php.net to get a copy of this message
justinpatrin Fri Jun 9 21:32:24 2006 UTC Modified files: /pear/Text_Wiki/Text/Wiki/Render/Xhtml Raw.php Log: Encode text to avoid XSS http://cvs.php.net/viewcvs.cgi/pear/Text_Wiki/Text/Wiki/Render/Xhtml/Raw.php?r1=1.5&r2=1.6&diff_format=u Index: pear/Text_Wiki/Text/Wiki/Render/Xhtml/Raw.php diff -u pear/Text_Wiki/Text/Wiki/Render/Xhtml/Raw.php:1.5 pear/Text_Wiki/Text/Wiki/Render/Xhtml/Raw.php:1.6 --- pear/Text_Wiki/Text/Wiki/Render/Xhtml/Raw.php:1.5 Sat Jul 30 08:03:29 2005 +++ pear/Text_Wiki/Text/Wiki/Render/Xhtml/Raw.php Fri Jun 9 21:32:24 2006 @@ -9,7 +9,7 @@ * @package Text_Wiki * @author Paul M. Jones <pmjones@php.net> * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: Raw.php,v 1.5 2005/07/30 08:03:29 toggg Exp $ + * @version CVS: $Id: Raw.php,v 1.6 2006/06/09 21:32:24 justinpatrin Exp $ * @link http://pear.php.net/package/Text_Wiki */ @@ -40,7 +40,7 @@ function token($options) { - return $options['text']; + return $this->textEncode($options['text']); } } ?>

« previous php.pear.cvs (#40599) next »