php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: xuefer at gmail dot com
New email:
PHP Version: OS:

 

 [2008-05-10 08:04 UTC] 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="&#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">

Patches

Pull Requests

History

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 12:01:29 2025 UTC