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

From: Date: Tue, 15 Oct 2002 00:26:55 +0000
Subject: #19553 [Fbk->NoF]: Failed html tags when trans sid is enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22437@lists.php.net to get a copy of this message
ID: 19553 Updated by: php-bugs@lists.php.net Reported By: m@sote.pl -Status: Feedback +Status: No Feedback Bug Type: Session related Operating System: Linux PHP Version: 4.2.3 New Comment: 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". Previous Comments: ------------------------------------------------------------------------ [2002-09-26 20:17:05] 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-09-25 07:37:03] alan@akbkhome.com may be similar to http://bugs.php.net/bug.php?id=17236 ------------------------------------------------------------------------ [2002-09-25 07:27:11] 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-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 (#22437) next »