php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19553 Failed html tags when trans sid is enabled
Submitted: 2002-09-22 18:37 UTC Modified: 2002-11-01 19:18 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: m at sote dot pl Assigned:
Status: Closed Package: Session related
PHP Version: 4.2.3 OS: Linux
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: m at sote dot pl
New email:
PHP Version: OS:

 

 [2002-09-22 18:37 UTC] m at sote dot pl
When I've got --enable-tras-sid, I get wrong html tags (sometimes):

For example:
in file:
<TD  background="/themes/_pl/redball/_layout/bar_back.jpg" class="grey">
    &nbsp;&nbsp;<B><font class=white><?php print "1234567890";?></font></B>

source from web:
<td  background="/themes/_pl/redball/_layout/bar_back.jpg" class="grey">
    &nbsp;&nbsp;<b><font1234567890</font></b>


in file:
<input type="text" size="2" maxsize="6" name="num[22]" value='1'><td
align=center>

source from web:
    <input type="text" size="2" maxsize="6" name="num[22]" value='1'></<td
align=center>

I have php-4.2.3 but there is the same bug in 4.2.1 
php-4.1.2 is OK.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-23 02:34 UTC] hholzgra@php.net
had a similar effect last week, looks like trans_sid
cutting off bytes at buffer ends under certain 
(not yet identified) circumstances

from what i have seen it mostly happens at the very
end of a document and only sometimes on the border
of http 1.1 chunks

might have been there for quite some time without
being noticed as it will usually only cut off
the trailing &lt;body&gt;&lt;html&gt; which do
not affect output in common browsers ...
 [2002-09-25 07:27 UTC] sas@php.net
This looks to me as if the rewriter would fail to clear a buffer and thus insert random data into the stream.  I would appreciate an example script which reproduces the behaviour.
 [2002-09-25 07:37 UTC] alan at akbkhome dot com
may be similar to 
http://bugs.php.net/bug.php?id=17236
 [2002-09-26 20:17 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-14 19:26 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-11-01 18:43 UTC] m at sote dot pl
fixed in php-4.3.2pre2
 [2002-11-01 18:45 UTC] m at sote dot pl
sorry
not php-4.3.2pre2
but php-4.3.0pre2

;)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 07:01:34 2024 UTC