Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large Input Errors Out #23

Closed
meg23 opened this issue Nov 13, 2014 · 4 comments
Closed

Large Input Errors Out #23

meg23 opened this issue Nov 13, 2014 · 4 comments

Comments

@meg23
Copy link

meg23 commented Nov 13, 2014

From brian.an...@gmail.com on March 12, 2009 11:15:22

What steps will reproduce the problem? 1. Passing AntiSamy.scan an input large then 20,000 bytes What is the expected output? What do you see instead? Processed HTML. What version of the product are you using? On what operating system? 1.2 on Solaris Please provide any additional information below. Stack Trace:
[exec] Caused by: org.owasp.validator.html.ScanException: The input
was too large. The specified input was 24,771 bytes and the maximum is
20,000 bytes.
[exec] at
org.owasp.validator.html.scan.AntiSamyDOMScanner.scan(Unknown Source)
[exec] at org.owasp.validator.html.AntiSamy.scan(Unknown Source)

Original issue: http://code.google.com/p/owasp-esapi-java/issues/detail?id=13

@meg23
Copy link
Author

meg23 commented Nov 13, 2014

From brian.an...@gmail.com on March 12, 2009 08:21:51

Please disregard, I didn't realize that this was configured in the policy. :)

@meg23
Copy link
Author

meg23 commented Nov 13, 2014

From kfe...@gmail.com on April 17, 2009 08:20:05

Status: Invalid
Owner: kfealz

@meg23
Copy link
Author

meg23 commented Nov 13, 2014

From binaryta...@gmail.com on March 09, 2011 07:12:29

The input size limit is defaulted to 100,000 bytes. You can set this with the following directive (value is number of bytes):

Exceeding the limit causes Antisamy to throw an exception.

Just posting this here if others end up here from Google as I did.

@meg23
Copy link
Author

meg23 commented Nov 13, 2014

From anitoc...@gmail.com on October 09, 2012 03:51:24

Thanks binaryta..

@meg23 meg23 closed this as completed Nov 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant