#34305 [NEW]: strange parsing of url_rewriter.tags
| From: | mail at bjanetzki dot de | Date: | Tue, 30 Aug 2005 11:07:06 +0000 |
| Subject: | #34305 [NEW]: strange parsing of url_rewriter.tags | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-84183@lists.php.net to get a copy of this message | ||
From: mail at bjanetzki dot de
Operating system: Linux
PHP version: 5.0.4
PHP Bug Type: Session related
Bug description: strange parsing of url_rewriter.tags
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>
--
Edit bug report at http://bugs.php.net/?id=34305&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34305&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34305&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34305&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34305&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34305&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34305&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34305&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34305&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34305&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34305&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34305&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34305&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34305&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34305&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34305&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34305&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34305&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34305&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34305&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34305&r=mysqlcfg