jeff377 / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

Antisamy not working when 'Alt Tag' is too long #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Parse a HTML contents which contains exceptionally long 'Alt tag' within its 
contents.
2.
3.

What is the expected output? What do you see instead?
The expected result is clean HTML code without suspecious or malicious codes in 
it, but I get JAVA error(on eclipse) or white page on web browser.

What version of the product are you using? On what operating system?
I have tried both 1.4.1, and 1.5 on Windows, Linux, and Solaris. 
They all returned same result. 

Please provide any additional information below.
The attached file is the mail that caused this error. 
As you may see, the tag is exceptionally long and is causing 
some glitches. 

I have not yet tested with other tags, but in my test, alt tag was the main 
cause.

Regards.

Original issue reported on code.google.com by Reverie....@gmail.com on 2 May 2013 at 7:38

Attachments: