svn: /web/php/trunk/include/ layout.inc

From: Date: Wed, 04 Nov 2009 22:05:59 +0000
Subject: svn: /web/php/trunk/include/ layout.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-6361@lists.php.net to get a copy of this message
bjori Wed, 04 Nov 2009 22:05:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290220 Log: Fixed bug#49136 (encoding issues with events) # Patch by janrei dot g at googlemail dot com Bug: http://bugs.php.net/49136 (Closed) encoding issues with events Changed paths: U web/php/trunk/include/layout.inc Modified: web/php/trunk/include/layout.inc =================================================================== --- web/php/trunk/include/layout.inc 2009-11-04 21:42:44 UTC (rev 290219) +++ web/php/trunk/include/layout.inc 2009-11-04 22:05:59 UTC (rev 290220) @@ -598,9 +598,9 @@ } // Print link in case we have one - if ($event['url']) { echo '<a href="', htmlentities($event['url']),'" class="url">'; } + if ($event['url']) { echo '<a href="', htmlentities($event['url'], ENT_QUOTES, 'UTF-8'),'" class="url">'; } // Print event description - echo "<b class='summary'>", stripslashes(htmlentities($event['sdesc'])), "</b>"; + echo "<b class='summary'>", stripslashes(htmlentities($event['sdesc'], ENT_QUOTES, 'UTF-8')), "</b>"; // End link if ($event['url']) { echo "</a>"; } @@ -642,8 +642,8 @@ // If we have an URL, print it out if ($event['url']) { echo '<br /><br /><b>URL:</b> ', - '<a href="', htmlentities($event['url']), '">', - htmlentities($event['url']), '</a>'; + '<a href="', htmlentities($event['url'], ENT_QUOTES, 'UTF-8'), '">', + htmlentities($event['url'], ENT_QUOTES, 'UTF-8'), '</a>'; } ?> </td></tr>

« previous php.webmaster (#6361) next »