php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34305 strange parsing of url_rewriter.tags
Submitted: 2005-08-30 13:07 UTC Modified: 2005-08-30 13:09 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mail at bjanetzki dot de Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.0.4 OS: Linux
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: mail at bjanetzki dot de
New email:
PHP Version: OS:

 

 [2005-08-30 13:07 UTC] mail at bjanetzki dot de
Description:
------------
While using session trans_sid there is a problem with some url_rewriter tags.

Reproduce code:
---------------
<?php /*-------- example 1 start (works as expected) --------*/ ?>
<html>
<body>
<a href="/foo.php">bar</a>
</body>
</html>
<?php /*-------- example 1 end --------*/ ?>

<?php /*-------- example 2 start (does not work as expected) --------*/ ?>
<html>
<body>
<a 
  href="/foo.php">bar</a>
</body>
</html>
<?php /*-------- example 2 end --------*/ ?>

Expected result:
----------------
<html>
<body>
<a
href="/foo.php?sessionID=ee12ddca7d148a9b6c51c490a953a1b6">bar</a>
</body>
</html>

Actual result:
--------------
<html>
<body>
<a
href="/foo.php">bar</a>
</body>
</html>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-30 13:09 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-08-30 13:09 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The url rewriter doesn\'t fix all HTML code as that would be way to slow. Put them on one line and it works.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Sep 02 03:00:01 2026 UTC