#41600 [Fbk->Opn]: url rewriter tags doesn't work with special chars
| From: | jonathanl at olx dot com | Date: | Wed, 11 Jul 2007 13:24:29 +0000 |
| Subject: | #41600 [Fbk->Opn]: url rewriter tags doesn't work with special chars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114906@lists.php.net to get a copy of this message | ||
ID: 41600
User updated by: jonathanl at olx dot com
Reported By: jonathanl at olx dot com
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: Linux
PHP Version: 4.4.7
Assigned To: iliaa
New Comment:
The PHP snapshot you are saying are version 5.x version, is it possible
to have this fixed on 4.x version?
Previous Comments:
------------------------------------------------------------------------
[2007-07-11 12:53:46] jani@php.net
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
------------------------------------------------------------------------
[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