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. Advertisements

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.
Similar Threads
  1. batista
    Replies:
    1
    Views:
    1,127
    Laurent Bugnion
    Jan 26, 2006
  2. batista
    Replies:
    0
    Views:
    717
    batista
    Jan 26, 2006
  3. Stefan Mueller
    Replies:
    3
    Views:
    34,230
    Stefan Mueller
    Jul 23, 2006
  4. Replies:
    2
    Views:
    1,338
    Ingo Menger
    May 31, 2007
  5. rvino
    Replies:
    0
    Views:
    4,986
    rvino
    Aug 14, 2007
  6. Replies:
    0
    Views:
    241
  7. batista
    Replies:
    0
    Views:
    368
    batista
    Jan 26, 2006
  8. Jay
    Replies:
    2
    Views:
    238
    Bart Van der Donck
    Oct 15, 2007
Loading...