Attribute quoting with backquotes in HTML::Parser

Alex Kapranoff <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Organization Inner Mongolia
Message-ID <[email protected]>
Good day!

I searched the archives and didn't find anything. Were there
discussions about supporting weird IE quoting with backquotes
(<img alt=`a b c`>)?

It seems that IE7 continues to implement it so HTML::Parser should
probably too at least with a non-default option.

Currently, it is parsed as <img alt="`a" b="b" c`="c`">.

What are the thoughts? Backquotes are mostly used in XSS exploits
nowadays and I have a hard time dealing with such attacks using
HTML::Parser.

-- 
Alex Kapranoff.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.