php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: remy at blitz dot ch
New email:
PHP Version: OS:

 

 [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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-09 18:52 UTC] sniper@php.net
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.

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