#22111 [Bgs->Opn]: URL rewriter and Javascript

From: Date: Mon, 10 Feb 2003 12:38:23 +0000
Subject: #22111 [Bgs->Opn]: URL rewriter and Javascript
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32640@lists.php.net to get a copy of this message
ID: 22111 User updated by: xanthor@xanthor.tk Reported By: xanthor@xanthor.tk -Status: Bogus +Status: Open Bug Type: Session related Operating System: All PHP Version: 4.3.0 New Comment: So I reopen it... Previous Comments: ------------------------------------------------------------------------ [2003-02-08 12:00:08] xanthor@xanthor.tk The question is not about javascript but about PHP. PHP shouldn't add PHPSESSID anywhere in javascript, especially if the script is writen between comment caracteres. So yes, it is a bug. ------------------------------------------------------------------------ [2003-02-07 23:13:21] sniper@php.net There's no need to quote "'s in your example. Not bug. ------------------------------------------------------------------------ [2003-02-07 13:00:57] xanthor@xanthor.tk The URL rewriter for transparent session ID propagation read also the javascripts and add PHPSESSID, sometimes with errors For exemple : If I write : <script type="text/javascript"> <!-- pipo = '<a href=\"bla\">plop</a>'; --> </script> I obtain : <script type="text/javascript"> <!-- pipo = '<a href=\"bla\"?PHPSESSID=******>plop</a>'; --> </script> (Tested on servers with PHP4.3, runing with Apache 1.3.27 and Linux...) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22111&edit=1

« previous php.bugs (#32640) next »