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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 19:01:31 2025 UTC