View Single Post
  #9   Report Post  
Posted to comp.lang.java.programmer,microsoft.public.excel.programming
Chris Smith[_3_] Chris Smith[_3_] is offline
external usenet poster
 
Posts: 2
Default How to URL-ize a string

I wrote:
Robin Hammond wrote:
Thanks for the constructive comment. They work absolutely fine for me using
MSXML2.XMLHTTP40.


Perhaps that control does the encoding for you. Or perhaps you've been
lucky and only interacted with servers that are very lax in violating
that specific part of the HTTP specification. In the former case (and
if it's actually documented behavior of the control), then you're fine.
In the latter case, you should really fix this before your code starts
randomly breaking on different servers.


Okay, I just checked. The documentation for the XMLHTTP control says
that the second parameter to open is a URL, and mentions nothing about
not needing to do encoding for illegal characters. So Robin, I'd
strongly suggest you fix your code.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation