RE: PHP 4.0 Bug #5555 Updated: some troubles parsing HTML
| From: | Vincent Tailleur | Date: | Tue, 18 Jul 2000 12:14:05 +0000 |
| Subject: | RE: PHP 4.0 Bug #5555 Updated: some troubles parsing HTML | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24882@lists.php.net to get a copy of this message | ||
It's difficult for me to give you a bugged script because the bug doesn't
appear everytime !
I use PHP4.0.1pl2 with --enable-trans-sid on FreeBSD 3.3 (i386) and Apache
1.3.
When PHP write the SID at the end of an URL in the tag <a href="URL">...<a>,
sometimes it write the SID anywhere in the URL !
It gives something like that :
...
<a href="myp?PHPSESSID=ca33f32b31a32252b221e229age.php">click</a>
...
instead of :
...
<a href="mypage.php?PHPSESSID=ca33f32b31a32252b221e229">click</a>
...
In order to clean this trouble, I write html code like that, (manually
adding the SID variable :)
...
<a href
="mypage.php?<?=SID?>">click</a>
...
Note : since I use Zend optimizer, the bug seems not to appear anymore
I'm not the only one meeting this little bug :-)
Best regards,
_________________________________________________________________
Vincent Tailleur - Services techniques ATEL
http://atelnet.com - mailto:vt@atelnet.com
ATEL | 14bis, Av. Chomedey de Maisonneuve
c o m m u n i c a t i o n | 10000 TROYES FRANCE
p u b l i c i t é | Tél. : 03 25 70 40 00
m u l t i m é d i a | Fax : 03 25 70 40 04
_________________________________________________________________
> -----Message d'origine-----
> De : Bug Database [mailto:php-dev@lists.php.net]
> Envoyé : mardi 18 juillet 2000 11:44
> À : vt@atelnet.com
> Objet : PHP 4.0 Bug #5555 Updated: some troubles parsing HTML
>
>
> ID: 5555
> Updated by: stas
> Reported By: vt@atelnet.com
> Status: Feedback
> Bug Type: Scripting Engine problem
> Assigned To:
> Comments:
>
> Please provide short reproducing script and information about
> your configuration.
>
> Full Bug description available at: http://bugs.php.net/?id=5555
>
>