Shiva6780 / owaspantisamy

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

input tag always crop #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Se in conf file .xml to accept input tag 
2. Call AntySamy.scan
3. See that input tag is always trimmed

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
1.3 - Linux

Please provide any additional information below.

The bug was the in AntiSamyDOMScanner in field

private String[] allowedEmptyTags = { "br", "hr", "col", "img", "basefont",
"col" };

Also input tag can be empty in xhtml, or I'm in error ?

Bye

Original issue reported on code.google.com by stefano....@gmail.com on 29 Jan 2010 at 3:38

GoogleCodeExporter commented 8 years ago

Original comment by arshan.d...@gmail.com on 8 Mar 2010 at 5:19