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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC