#19553 [Ver->Fbk]: Failed html tags when trans sid is enabled

From: Date: Wed, 25 Sep 2002 12:27:12 +0000
Subject: #19553 [Ver->Fbk]: Failed html tags when trans sid is enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20290@lists.php.net to get a copy of this message
ID: 19553 Updated by: sas@php.net Reported By: m@sote.pl -Status: Verified +Status: Feedback Bug Type: Session related Operating System: Linux PHP Version: 4.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-09-23 02:34:35] 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-22 18:37:19] m@sote.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19553&edit=1

« previous php.bugs (#20290) next »