php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27441 Session Rewriter and W3C Validation
Submitted: 2004-02-29 23:22 UTC Modified: 2004-03-01 02:25 UTC
From: cyrille2 at free dot fr Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.3.4 OS: Windows 2000
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: cyrille2 at free dot fr
New email:
PHP Version: OS:

 

 [2004-02-29 23:22 UTC] cyrille2 at free dot fr
Description:
------------
I currently use sessions in my scripts and particularly the "session rewriter" but it produce non valid html 4.01 transitional. Let me explain : I have no control on this output and it print '&' instead of '&'.

Here is a part of my php.ini:
session.use_trans_sid = 1
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

Thx to read this "bug" report ;)
Cordially,
Cyrille2

Reproduce code:
---------------
...
<?
session_start();
?>
<a href="test.php?a=b">test<a/>
...

Expected result:
----------------
<a href="test.php?a=b&amp;PHPSESSID=mycurrentsid">test<a/>

Actual result:
--------------
<a href="test.php?a=b&PHPSESSID=mycurrentsid">test<a/>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-01 02:25 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

RTFM:
http://nl2.php.net/session
(hint: it is somewhere at the bottom)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 08:01:30 2024 UTC