cvs: pearweb /public_html release-upload.php

From: Date: Mon, 14 Jun 2004 04:18:03 +0000
Subject: cvs: pearweb /public_html release-upload.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20621@lists.php.net to get a copy of this message
danielc Mon Jun 14 00:18:03 2004 EDT Modified files: /pearweb/public_html release-upload.php Log: htmlspecialchars() on some fields when viewing before confirmation. http://cvs.php.net/diff.php/pearweb/public_html/release-upload.php?r1=1.35&r2=1.36&ty=u Index: pearweb/public_html/release-upload.php diff -u pearweb/public_html/release-upload.php:1.35 pearweb/public_html/release-upload.php:1.36 --- pearweb/public_html/release-upload.php:1.35 Sat Jan 31 07:10:26 2004 +++ pearweb/public_html/release-upload.php Mon Jun 14 00:18:03 2004 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: release-upload.php,v 1.35 2004/01/31 12:10:26 pajoye Exp $ + $Id: release-upload.php,v 1.36 2004/06/14 04:18:03 danielc Exp $ */ auth_require("pear.dev"); @@ -226,11 +226,11 @@ } } - print "<tr><th align=\"right\" valign=\"top\">Summary:</th><td>" . $info['summary'] . "</td></tr>\n"; - print "<tr><th align=\"right\" valign=\"top\">Description:</th><td>" . nl2br($info['description']) . "</td></tr>\n"; + print "<tr><th align=\"right\" valign=\"top\">Summary:</th><td>" . htmlspecialchars($info['summary']) . "</td></tr>\n"; + print "<tr><th align=\"right\" valign=\"top\">Description:</th><td>" . nl2br(htmlspecialchars($info['description'])) . "</td></tr>\n"; print "<tr><th align=\"right\" valign=\"top\">Release State:</th><td>" . $info['release_state'] . "</td></tr>\n"; print "<tr><th align=\"right\" valign=\"top\">Release Date:</th><td>" . $info['release_date'] . "</td></tr>\n"; - print "<tr><th align=\"right\" valign=\"top\">Release Notes:</th><td>" . nl2br($info['release_notes']) . "</td></tr>\n"; + print "<tr><th align=\"right\" valign=\"top\">Release Notes:</th><td>" . nl2br(htmlspecialchars($info['release_notes'])) . "</td></tr>\n"; print "</table>\n"; $form->display();

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