Page 1 of 1

symbols that should be avoided in service request

Posted: Tue Jun 23, 2015 9:47 am
by Dongzhi Yang7528784

Hi Support,

I have a page which include several "input" components. Currently users can input any text they want.

I am thinking about putting some javascript in place to prevent users to key in comma, colon or quotes etc. i think those symbol may break the service request.

Am I correct? what other symbol shall I exclude?

Thanks

Dongzhi


symbols that should be avoided in service request

Posted: Wed Jun 24, 2015 6:39 am
by Serhii Kulibaba

Hello Dongzhi,

It depends on fields which you use in this request. In the basic example exclusion of the quotes would be enough. Also you can use safe strings for the requests: http://stackoverflow.com/a/12034334


symbols that should be avoided in service request

Posted: Mon Jul 20, 2020 8:18 am
by Dongzhi Yang7528784

function (a) { return chr[a]; }); } Dongzhi"