cvs: pearweb /public_html package-info.php

From: Date: Mon, 14 Jun 2004 04:41:41 +0000
Subject: cvs: pearweb /public_html package-info.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20624@lists.php.net to get a copy of this message
danielc Mon Jun 14 00:41:41 2004 EDT Modified files: /pearweb/public_html package-info.php Log: Escape HTML in changelog message. http://cvs.php.net/diff.php/pearweb/public_html/package-info.php?r1=1.72&r2=1.73&ty=u Index: pearweb/public_html/package-info.php diff -u pearweb/public_html/package-info.php:1.72 pearweb/public_html/package-info.php:1.73 --- pearweb/public_html/package-info.php:1.72 Wed Jun 9 01:04:48 2004 +++ pearweb/public_html/package-info.php Mon Jun 14 00:41:40 2004 @@ -16,7 +16,7 @@ | Authors: Martin Jansen <mj@php.net> | | Tomas V.V.Cox <cox@idecnet.com> | +----------------------------------------------------------------------+ - $Id: package-info.php,v 1.72 2004/06/09 05:04:48 danielc Exp $ + $Id: package-info.php,v 1.73 2004/06/14 04:41:40 danielc Exp $ */ require_once 'Damblan/URL.php'; @@ -282,7 +282,7 @@ print '<a href="/get/' . $name . '-' . $release_version . '.tgz"><b>Download</b></a><br /><br />'; print '<b>Release date:</b> ' . date("d M Y, H:i A", strtotime($info['releasedate'])) . '<br />'; print '<b>Release state:</b> ' . $info['state'] . '<br /><br />'; - print '<b>Changelog:</b><br /><br />' . nl2br($info['releasenotes']) . '<br /><br />'; + print '<b>Changelog:</b><br /><br />' . nl2br(htmlspecialchars($info['releasenotes'])) . '<br /><br />'; if (!empty($info['deps']) && count($info['deps']) > 0) { print '<b>Dependencies:</b>';

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