cvs: pearweb /public_html source.php

From: Date: Tue, 26 Nov 2002 10:24:45 +0000
Subject: cvs: pearweb /public_html source.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7607@lists.php.net to get a copy of this message
jan Tue Nov 26 05:24:45 2002 EDT Modified files: /pearweb/public_html source.php Log: - fix another X-scripting hole, found by sesser@php.net Index: pearweb/public_html/source.php diff -u pearweb/public_html/source.php:1.6 pearweb/public_html/source.php:1.7 --- pearweb/public_html/source.php:1.6 Sat Nov 23 16:29:10 2002 +++ pearweb/public_html/source.php Tue Nov 26 05:24:44 2002 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: source.php,v 1.6 2002/11/23 21:29:10 richard Exp $ + $Id: source.php,v 1.7 2002/11/26 10:24:44 jan Exp $ */ $SIDEBAR_DATA=' @@ -34,8 +34,9 @@ response_footer(); exit; } +$url = htmlentities($url); ?> -<p>Source of: <?=strip_tags($url)?></p> +<p>Source of: <?php echo $url; ?></p> <?php

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