#19233 [Fbk->Opn]: Anchor tag parsing bug

From: Date: Fri, 06 Sep 2002 08:56:05 +0000
Subject: #19233 [Fbk->Opn]: Anchor tag parsing bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18561@lists.php.net to get a copy of this message
ID: 19233 User updated by: phpbug@cycleburner.org Reported By: phpbug@cycleburner.org -Status: Feedback +Status: Open -Bug Type: Zend Engine 2 problem +Bug Type: Scripting Engine problem Operating System: Any PHP Version: 4.2.2 New Comment: Just create a file test.php containing this minimalized example: <html> <a>-bc</a> </html> You will see that PHP changes the 'c' into a '>'. I'm sorry if I filed this bug under the wrong category... It seems to be Zend related, but I'm using Zend version 1.2.0. I have observed this bug in PHP4.2.2 on both Windows and Linux. I too suspect this has something to do with trans-sid, but setting session.use_trans_sid = 0 makes no difference. Previous Comments: ------------------------------------------------------------------------ [2002-09-05 20:20:02] yohgaki@php.net It sounds like trans-sid problem. Need more details what you are doing. What are you doing when you see this problem? Use latest PHP source always with ZE2. ------------------------------------------------------------------------ [2002-09-04 16:02:35] phpbug@cycleburner.org When the first character of an anchor tag's contents is a '-', the last character of the contents gets replaced with a '>'. Example: <html> <a>-bc</a> </html> In this example the 'c' is replaced with a '>'. Remove <html> from this example, or put any other character before the '-', and the 'c' will remain unchanged. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19233&edit=1

« previous php.bugs (#18561) next »