Dongzhi Yang7528784
Posts: 0
Joined: Mon May 11, 2015 6:28 am

symbols that should be avoided in service request

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

symbols that should be avoided in service request

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

Dongzhi Yang7528784
Posts: 0
Joined: Mon May 11, 2015 6:28 am

symbols that should be avoided in service request

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

Return to “Issues”