#44959 [Opn->Fbk]: & is not recognized correctly by url_rewriter
| From: | jani@php.net | Date: | Thu, 17 Jul 2008 23:01:59 +0000 |
| Subject: | #44959 [Opn->Fbk]: & is not recognized correctly by url_rewriter | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126915@lists.php.net to get a copy of this message | ||
ID: 44959
Updated by: jani@php.net
Reported By: xuefer at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: URL related
Operating System: gentoo
PHP Version: 5.2.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2008-05-10 08:04:57] xuefer at gmail dot com
Description:
------------
&#dddd; in href is not recognized correctly by url rewriter scanner
the original code was <a href="/def/"> and i encoded the first / to
trap some bot that don't recognize & and nofollow correctly so it is <a
href="/def/" rel="nofollow">, nofollow is not required to reproduce
the bug
Reproduce code:
---------------
<a href="/def/" rel="nofollow">
Expected result:
----------------
<a href="/abc/?SID=kkS2Qatbjdjmoy-7joKkM2#47" rel="nofollow">
Actual result:
--------------
<a href="&?SID=kkS2Qatbjdjmoy-7joKkM2#47;abc/" rel="nofollow">
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44959&edit=1