webservice.htc and special characters

Discussion in 'ASP .Net Web Services' started by Curia Damiano, Nov 11, 2003.

  1. 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
     
    Curia Damiano, Nov 11, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page