#19233 [Opn->Fbk]: Anchor tag parsing bug
| From: | sniper@php.net | Date: | Fri, 06 Sep 2002 10:54:14 +0000 |
| Subject: | #19233 [Opn->Fbk]: Anchor tag parsing bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18570@lists.php.net to get a copy of this message | ||
ID: 19233
Updated by: sniper@php.net
Reported By: phpbug@cycleburner.org
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Any
PHP Version: 4.2.2
New Comment:
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
I can not reproduce this with PHP 4.2.3 or PHP 4.3.0-dev
(using the default php.ini-dist)
Previous Comments:
------------------------------------------------------------------------
[2002-09-06 03:56:05] phpbug@cycleburner.org
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.
------------------------------------------------------------------------
[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