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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 08:01:30 2025 UTC