#41600 [Asn->Fbk]: url rewriter tags doesn't work with special chars
ID: 41600
Updated by: jani@php.net
Reported By: jonathanl at olx dot com
-Status: Assigned
+Status: Feedback
Bug Type: Session related
Operating System: Linux
PHP Version: 4.4.7
Assigned To: iliaa
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2007-06-07 12:15:13] jonathanl at olx dot com
It is not working on the 4.4.7 PHP version.
------------------------------------------------------------------------
[2007-06-06 00:01:19] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2007-06-05 18:00:30] jonathanl at olx dot com
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 this bug report at http://bugs.php.net/?id=41600&edit=1
Thread (7 messages)