cvs: php-bugs-web / lstats.php

From: Date: Tue, 15 Jul 2008 21:57:32 +0000
Subject: cvs: php-bugs-web / lstats.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-2110@lists.php.net to get a copy of this message
johannes Tue Jul 15 21:57:32 2008 UTC Modified files: /php-bugs-web lstats.php Log: - Fix escaping (thanks Lars Strojny) http://cvs.php.net/viewvc.cgi/php-bugs-web/lstats.php?r1=1.20&r2=1.21&diff_format=u Index: php-bugs-web/lstats.php diff -u php-bugs-web/lstats.php:1.20 php-bugs-web/lstats.php:1.21 --- php-bugs-web/lstats.php:1.20 Sat May 26 13:33:41 2007 +++ php-bugs-web/lstats.php Tue Jul 15 21:57:32 2008 @@ -49,6 +49,7 @@ if(!isset($phpver)) { echo "<h3>Bug stats for both <a href='lstats.php?phpver=4'>PHP 4</a> and <a href='lstats.php?phpver=5'>PHP 5</a>:</h3>\n<pre>\n"; } else { + $phpver = htmlspecialchars($phpver); echo "<h3>Bug stats for PHP $phpver:</h3>\n<pre>\n"; }

« previous php.webmaster (#2110) next »