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
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: t dot stinner at billiton dot de
New email:
PHP Version: OS:

 

 [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-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 11 08:05:57 2022 UTC