#41600 [Csd->Opn]: url rewriter tags doesn't work with special chars

From: Date: Thu, 07 Jun 2007 12:15:14 +0000
Subject: #41600 [Csd->Opn]: url rewriter tags doesn't work with special chars
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113534@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: Closed +Status: Open Bug Type: Session related Operating System: Linux -PHP Version: 5.2.3 +PHP Version: 4.4.7 New Comment: It is not working on the 4.4.7 PHP version. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#113534) next »