|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44959 & is not recognized correctly by url_rewriter
Submitted: 2008-05-10 08:04 UTC Modified: 2008-07-25 01:00 UTC
Avg. Score:2.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: xuefer at gmail dot com Assigned:
Status: No Feedback Package: URL related
PHP Version: 5.2.6 OS: gentoo
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-05-10 08:04 UTC] xuefer at gmail dot com
&#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="&#47;def/" rel="nofollow">, nofollow is not required to reproduce the bug

Reproduce code:
<a href="&#47;def/" rel="nofollow">

Expected result:
<a href="&#47;abc/?SID=kkS2Qatbjdjmoy-7joKkM2#47" rel="nofollow">

Actual result:
<a href="&?SID=kkS2Qatbjdjmoy-7joKkM2#47;abc/" rel="nofollow">


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jul 28 11:01:24 2021 UTC