cvs: pearweb /include pear-manual.php
| From: | Christian Weiske | Date: | Sun, 22 Mar 2009 11:59:38 +0000 |
| Subject: | cvs: pearweb /include pear-manual.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-8275@lists.php.net to get a copy of this message | ||
cweiske Sun Mar 22 11:59:38 2009 UTC
Modified files:
/pearweb/include pear-manual.php
Log:
fix Bug #16038: Links in manual header/footer are double encoded
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-manual.php?r1=1.91&r2=1.92&diff_format=u
Index: pearweb/include/pear-manual.php
diff -u pearweb/include/pear-manual.php:1.91 pearweb/include/pear-manual.php:1.92
--- pearweb/include/pear-manual.php:1.91 Fri Mar 13 00:29:45 2009
+++ pearweb/include/pear-manual.php Sun Mar 22 11:59:38 2009
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-manual.php,v 1.91 2009/03/13 00:29:45 dufuz Exp $
+ $Id: pear-manual.php,v 1.92 2009/03/22 11:59:38 cweiske Exp $
*/
require_once 'site.php';
@@ -176,7 +176,7 @@
echo ' <tr class="man-nav_prev-next">' . "\n";
echo ' <td class="man-nav_prev">' . "\n ";
if ($PREV[1]) {
- $link = @htmlspecialchars($PREV[1], ENT_QUOTES, $CHARSET);
+ $link = $PREV[1];
if (strlen($link) > 45) {
$link = str_replace('::', '::<br />', $link);
}
@@ -190,7 +190,7 @@
echo ' </td>' . "\n";
echo ' <td class="man-nav_next">' . "\n";
if ($NEXT[1]) {
- $link = @htmlspecialchars($NEXT[1], ENT_QUOTES, $CHARSET);
+ $link = $NEXT[1];
if (strlen($link) > 45) {
$link = str_replace('::', '::<br />', $link);
}