From: jonathanl at olx dot com Operating system: Linux PHP version: 5.2.3 PHP Bug Type: Session related Bug description: url rewriter tags doesn't work with special chars
Description: ------------ When my HTML has tags like <emv:a href="somepage.php">A link</emv:a> the url rewriter doesn't recognize them even if I add emv:a=href to the url_rewriter.tags configuration in my php.ini. Removing :a and leaving it like <emv href="somepage.php">A link</emv> and changing url_rewriter.tags to emv=href works fine. So I assume it has to be something related to how PHP is replacing tags. Reproduce code: --------------- Put some special tag in your HTML, like: <emv:a href="somepage.php">A Link</emv:a> And add emv:a=href to your url_rewriter.tags in php.ini Expected result: ---------------- <emv:a href="somepage.php?PHPSESSID=357eb0100a8e98561101f01bd8205ce4">A Link</emv:a> Actual result: -------------- <emv:a href="somepage.php">A Link</emv:a> -- Edit bug report at http://bugs.php.net/?id=41600&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41600&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41600&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41600&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41600&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41600&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41600&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41600&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41600&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41600&r=support Expected behavior: http://bugs.php.net/fix.php?id=41600&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41600&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41600&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41600&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41600&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41600&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41600&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41600&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41600&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41600&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41600&r=mysqlcfg