[PHP-DEV] RE: PHP 4.0 Bug #5555 Updated: some troubles parsing HTML From: Vincent Tailleur (vt <email protected>)
Date: 07/18/00

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 <email protected>

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 <email protected>]
> Envoyé : mardi 18 juillet 2000 11:44
> À : vt <email protected>
> Objet : PHP 4.0 Bug #5555 Updated: some troubles parsing HTML
>
>
> ID: 5555
> Updated by: stas
> Reported By: vt <email protected>
> 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
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>