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

From: Date: Wed, 06 Jun 2007 00:01:19 +0000
Subject: #41600 [Opn->Csd]: url rewriter tags doesn't work with special chars
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113433@lists.php.net to get a copy of this message
ID: 41600 Updated by: iliaa@php.net Reported By: jonathanl at olx dot com -Status: Open +Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 5.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#113433) next »