Welcome! » Log In » Create A New Profile

String length

Posted by waldemar 
String length
September 07, 2016 09:04AM

I try to process a string with HTMLPurifier. If the system gets a text longer than 6536 characters, the server generates a proxy error (502) . I do not know why? Can You help me?

Re: String length
September 07, 2016 01:16PM

Sometimes servers have maximum limits to query strings. Are you using GET or POST?

Re: String length
September 08, 2016 05:32AM

Problem has been solved. HTMLPurifier works well. Errors are generated by the function preg_match(). Thx.

Your Email:


HTML input is enabled. Make sure you escape all HTML and angled brackets with < and >.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

Place code here

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}