webservice.htc and special characters

C

Curia Damiano

I'm calling web-services from JavaScript using the webservice.htc
version 1.0.1.1120.
I'm passing a string parameter read from an input box.
If the user types something like '</>', the JavaScript raises an
exception.
I think the routine should automatically encode the parameters passed.
So am I wrong in something (es I should set something) or have I to do
something to make this encode happen (or I have to do it manually
before calling the web-service routine).
Thanks, Curia Damiano
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top