From:             cyrille2 at free dot fr
Operating system: Windows 2000
PHP version:      4.3.4
PHP Bug Type:     Output Control
Bug description:  Session Rewriter and W3C Validation

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/>

-- 
Edit bug report at http://bugs.php.net/?id=27441&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27441&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27441&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27441&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27441&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27441&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27441&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27441&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27441&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27441&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27441&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27441&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27441&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27441&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27441&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27441&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27441&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27441&r=float

Reply via email to