svn: /web/php-people/trunk/ include/layout.php user.php

From: Date: Sun, 24 Jul 2011 18:18:59 +0000
Subject: svn: /web/php-people/trunk/ include/layout.php user.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11753@lists.php.net to get a copy of this message
tyrael Sun, 24 Jul 2011 18:18:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313651 Log: update the copyright in the footer and fix an xss vuln Changed paths: U web/php-people/trunk/include/layout.php U web/php-people/trunk/user.php Modified: web/php-people/trunk/include/layout.php =================================================================== --- web/php-people/trunk/include/layout.php 2011-07-24 17:51:53 UTC (rev 313650) +++ web/php-people/trunk/include/layout.php 2011-07-24 18:18:59 UTC (rev 313651) @@ -45,7 +45,7 @@ function site_footer() { ?> <p id="copyright"> - <a href="http://php.net/copyright.php">Copyright &copy; 2009 The PHP Group</a><br /> + <a href="http://php.net/copyright.php">Copyright &copy; 2009-<?php echo date('Y');?> The PHP Group</a><br /> All rights reserved. </p> </body> Modified: web/php-people/trunk/user.php =================================================================== --- web/php-people/trunk/user.php 2011-07-24 17:51:53 UTC (rev 313650) +++ web/php-people/trunk/user.php 2011-07-24 18:18:59 UTC (rev 313651) @@ -80,7 +80,7 @@ <?php foreach($NFO["notes"] as $note) { ?> <div class="note"> <?php echo $note["entered"] ?>: - <?php echo $note["note"] ?> + <?php echo htmlspecialchars($note["note"], ENT_QUOTES, 'UTF-8'); ?> </div> <?php } ?> </div>

« previous php.webmaster (#11753) next »