input:
<object data="734578" />
<embed src="fsdfsd" />
output:
<?xml version="1.0"?>
<HTML>
<HEAD/>
<BODY>
<OBJECT data="734578">
<EMBED src="fsdfsd"/>
</OBJECT>
</BODY>
</HTML>
If you try "<a ... /><a ... />" it works. If you try "<object .../><embed .../>" it will not work.
Look at what your browser does: you will get exactly the same DOM.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hmm, really interesting! I didn't know that. However I did some other tests and your parser behaves different, for example for this:
<a href="ahoj" />
<a href="nazdar" />
<object data="cau.swf" />
<embed src="src" />
your parser produces:
<a href="ahoj">
</a>
<a href="nazdar">
</a>
<object data="cau.swf"><a href="nazdar">
</a><embed src="src"><a href="nazdar">
</a></embed></object>
which is way different from FF:
<a href="ahoj">
</a><a href="nazdar">
<object data="cau.swf">
<embed src="src">
</object></a>
What do you think?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Please, can you have a look at this bug? I think it's realy not invalid bug, since it behaves differently than my browser
You're right, parsing is incorrect here.