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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top