Re: Escaping both spaces and unsafe chars

From: Jan (biteme_at_nospam.com)
Date: 11/24/04


Date: Wed, 24 Nov 2004 00:53:35 -0000

Try:

/cgi-bin/nph-fix2.exe?SomeFile 1.pdf

Jan

"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:eJDCKtb0EHA.3808@tk2msftngp13.phx.gbl...
> "Jan" <biteme@nospam.com> wrote in message
> news:%23qpaslb0EHA.1400@TK2MSFTNGP11.phx.gbl
> > Is there any way to escape both unsafe chars and spaces in one call.
> > The various functions to do this (CoInternetParseUrl,
> > InternetCanonizeUrl, UrlCanoniconize etc.) all seem to offer one or
> > the other but not both simultaneously.
>
> InternetCanonicalizeUrl happily does both if run with dwFlags of 0 -
> just tried it. I suspect UrlCanoniconize would do the same.
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
>
>