php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5963 trans-sid breaks javascript links
Submitted: 2000-08-04 13:50 UTC Modified: 2000-08-04 14:18 UTC
From: karajannis at gmd dot de Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Latest CVS (04/08/2000) OS:
Private report: No CVE-ID: None
 [2000-08-04 13:50 UTC] karajannis at gmd dot de
trans-sid support shouldn't modify URLs of the form
<a href=javascript:foo()>
(they end up as <a href=javascript:foo()?PHPSESSID=...>, which prevents them from working)

Additionally, the action parameter in a form tag is modified, which 
 -doesn't work
 -isn't standard conforming

Instead, adding a hidden field directly after the form tag would be appropriate.

Thanx

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-04 14:18 UTC] hholzgra@php.net
#1 is already fixed in cvs

#2 (hidden field) i will think about,
   but this is exactly what the old code
   did and i haven't heard any complains about
   it yet 
 
   if you still think this should be changed
   re-issue as a feature request
 [2000-08-04 14:18 UTC] hholzgra@php.net
#1 is already fixed in cvs

#2 (hidden field) i will think about,
   but this is exactly what the old code
   did and i haven't heard any complains about
   it yet 
 
   if you still think this should be changed
   re-issue as a feature request
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 09 02:05:54 2022 UTC