symbols that should be avoided in service request

This forum contains topics that were moved from Get Satisfaction
Dongzhi Yang7528784
Posts: 0
Joined: Mon May 11, 2015 6:28 am

symbols that should be avoided in service request

Post 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

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

symbols that should be avoided in service request

Post 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

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

symbols that should be avoided in service request

Post by Dongzhi Yang7528784 »

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

Post Reply