As you know in an ajax request data is sent as parameters in the url e.g. page.php?param1=abc¶m2=123
I'm having issues sending AJAX content as the server seems to be filtering/blocking it as it's too large, consequently my application fails. I have tested my application on a few webservers and on another web host and it works fine but on vlexofree it fails.
Basically I am sending some really innocuous JSON content via the URL string to a PHP page for processing. Originally I was URI encoding the parameters so the JSON data wouldn't get corrupted in transit. Now I am BASE64 encoding it so it's just a-z, 0-9 characters (even better).
Basically the URL request looks like this:
http://mydomain.tk/p...XJzTWlucyI6IiJ9
I'm guessing something in the XSS security software is blocking it as an attack? Maybe it's too long of a string I don't know. But it works fine on other web hosts so I don't know. Seems like an unnecessary protection if you ask me as it's really limiting what you can do with a web application.
Any ideas what could be going wrong?
Edited by timecalc, 22 November 2011 - 03:28 AM.













