#22111 [Com]: URL rewriter and Javascript
| From: | xanthor at xanthor dot tk | Date: | Sat, 08 Feb 2003 18:00:08 +0000 |
| Subject: | #22111 [Com]: URL rewriter and Javascript | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32504@lists.php.net to get a copy of this message | ||
ID: 22111
Comment by: xanthor@xanthor.tk
Reported By: xanthor@xanthor.tk
Status: Bogus
Bug Type: Session related
Operating System: All
PHP Version: 4.3.0
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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