#27441 [Opn->Bgs]: Session Rewriter and W3C Validation

From: Date: Mon, 01 Mar 2004 07:25:36 +0000
Subject: #27441 [Opn->Bgs]: Session Rewriter and W3C Validation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-55719@lists.php.net to get a copy of this message
ID: 27441 Updated by: derick@php.net Reported By: cyrille2 at free dot fr -Status: Open +Status: Bogus Bug Type: Output Control Operating System: Windows 2000 PHP Version: 4.3.4 New Comment: 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) Previous Comments: ------------------------------------------------------------------------ [2004-02-29 23:22:33] 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 '&amp;'. 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/> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27441&edit=1

« previous php.bugs (#55719) next »