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

Getting Error: Request exceeds maximum allowed text size of 50 KB #380

Open
nishantsoniee opened this issue Jul 17, 2023 · 2 comments
Open

Comments

@nishantsoniee
Copy link

I have a huge text around 2.9 MB, I am passing this data to purify() FUNCTION, which is present in the HTMLPurifier CLASS.

I am getting this error -> Request exceeds maximum allowed text size of 50 KB.

Is it possible to purify this large data around 2.9 MB using this library ?

Please let me know if there is another way to do this.

Thanks in advance :)

@bytestream
Copy link
Contributor

bytestream commented Jul 17, 2023

That's not a limit imposed by this library.

@nishantsoniee
Copy link
Author

nishantsoniee commented Jul 18, 2023

Screenshot from 2023-07-18 13-08-45

please check this screenshot. I am also getting the same issue on my production server.

@ezyang - Could you please look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants