ezyang/htmlpurifier

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

nishantsoniee opened this issue · 2 comments

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 :)

That's not a limit imposed by this library.

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