I think your right Travis, there is a difference however I'm not removing it per-say. If file:// is sent, InternetCrackUrl does not take out the %xx ascii values, however if
file:///
is sent, it does. I've added a test case for these both. I also wrote
a test case for http:/// which currently the code I'm suggesting passes
(although the output is useless).
On 6/16/06, Mike McCormack <mike@codeweavers.com> wrote:
>
> Nick Cronin wrote:
> > unlike http:// etc, file:/// has 3 slashes, this patch removes the third
> > slash.
>
> Could you provide a test case for this please?
>
> Specifically, is "http:///foo.bar" different to "http://foo.bar "? Your
> code treats them equally. How about "file:///" and "file://"?
>
> Mike
>
>
>
I thought it was file://computername/path/to/file with
file:///path/to/file implying the local machine. I'm not so sure this
should be changed, it's some kind of a standard.
--
Travis Watkins
http://www.realistanew.com