|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8619 --enable-trans-sid does not work on html img tag
Submitted: 2001-01-09 14:38 UTC Modified: 2001-01-09 18:52 UTC
From: remy at blitz dot ch Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.4 OS: Linux/RedHat 7.0
Private report: No CVE-ID: None
 [2001-01-09 14:38 UTC] remy at blitz dot ch
In 4.0.4 the <SID> is not inserted into the HTML code at the <img> tag when compiled with --enable-trans-sid. While 4.0.3pl1 generated following code and included the SID at the <img src> tag:

<a href="bpict.phtml?art=1&size=large&USLSESSID=f24cdd3279f4a89ee2448b412f28a72d" target="_blank">
<img src="pict.phtml?art=1&size=small&USLSESSID=f24cdd3279f4a89ee2448b412f28a72d" border="0"></a>

Version 4.0.4 generates following output:

<a href="bpict.phtml?art=1&size=large&DEVCNM=4e48bb6c6639ad457f32588d148cf6f9" target="_blank">
<img src="pict.phtml?art=1&size=small" border="0"></a>

and does not insert the SID at the <img src> tag.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-09 18:52 UTC]
Please check the php.ini-dist which comes with the package. 
There is a new directive:

url_rewriter.tags         = "a=href,area=href,frame=src,input=src,form=fakeentry"

Add 'img=src'  and you'll get the desired behaviour.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Feb 06 13:03:40 2023 UTC