php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3848 Wrong Output when Using --enable-trans-sid and not using cookies
Submitted: 2000-03-16 13:09 UTC Modified: 2000-06-23 07:53 UTC
From: t dot stinner at billiton dot de Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Latest CVS (16/03/2000) OS: SuSE 6.3 with Apache 1.3.11
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:
49 + 1 = ?
Subscribe to this entry?

 
 [2000-03-16 13:09 UTC] t dot stinner at billiton dot de
When PHP tries to insert the Session-ID into an _empty_ form action or empty href the output totally get's messed up.

Try the following:

<?php
    session_start();
    echo "<form action=\"\">";
?>

The output looks like this:

<form action="">
?PHPSESSID=xxxxxxxxxxxxxxxxxxxxxx

You can see this at http://preview.yaps.net/test_saar.php

If you output more than just a single form action,  the output partially get's repeated.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-23 07:53 UTC] hholzgra at cvs dot php dot net
fixed in latest cvs
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 21:01:29 2024 UTC