xerofun/owaspantisamy

input tag always crop

Closed this issue · 1 comments

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

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

  • Changed state: Fixed
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium