AJAX problem which triangular bracket

Hi all,

I have encountered this issue using dHTMLx AJAX with POST.

It seems like post method is failing if there is an open triangular bracket ‘<’ followed by other characters. Consecutive open triangular brackets such as “<<<<<<<<” works ok as well as “<>” but if I try with “<aaa” for an example then it fails.
My code is basically in form of following:

dhtmlxAjax.post(url, ‘param=’ + encodeURIComponent(value), null);

Even using encodeURIComponent() to encode the parameter value, I have no luck with this.
Any solution to this?

Thanks,

Felix

Hello,

Consecutive open triangular brackets such as “<<<<<<<<” works ok as well as “<>” but if I try with “<aaa” for an example then it fails.

The problem wasn’t recreated locally. “<aaa” parameter is passed to the server correctly.

Check your server-side code.

Hi,

That is odd. I have already checked my server side code but when I debugged it, AJAX does not call server side page at all with it works fine with all the other parameters.
So I thought there was a problem with dHTMLx AJAX component.

Only thing I can do for now is to replace ‘<’ character with something else…

Thanks for your help.

Felix