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

From: Date: Mon, 10 Feb 2003 13:10:55 +0000
Subject: #22111 [Opn->WFx]: URL rewriter and Javascript
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32641@lists.php.net to get a copy of this message
ID: 22111 Updated by: sniper@php.net Reported By: xanthor@xanthor.tk -Status: Open +Status: Wont fix Bug Type: Session related Operating System: All PHP Version: 4.3.0 New Comment: In my opinion, there's no bug in this. In any case, it will not be fixed.. Previous Comments: ------------------------------------------------------------------------ [2003-02-10 06:38:21] xanthor@xanthor.tk So I reopen it... ------------------------------------------------------------------------ [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 (#32641) next »