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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 8 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC