Hrvoje Niksic wrote:

> "Ian Abbott" <[EMAIL PROTECTED]> writes:
> 
> 
>>On 4 Jan 2002 at 12:22, Bastiaan Stougie wrote:
>>
>>
>>> wget -P $LOCALDIR -m -np -nH -p --cut-dirs=2 
>>>http://host/dir1/dir2/
>>>
>>>This works fine, except that wget does not follow all the urls. It 
>>>skips urls like:
>>>
>>> <A HREF="//host/dir1/dir2/file">text</A>
>>>
> 
> Wow, I had no idea things like this were used.


FYI, here's the reason for it as I understand it.

Images on https pages need to be delivered via https to prevent
some browsers complaining about insecure images.  Images on larger
sites often come from a different set of servers than those that
deliver the HTML.  The "//host/dir/file" URL format allows both of
the above constraints to be satisfied with the same HTML page.

> 
> 
>>src/ChangeLog entry:
>>
>>2002-01-07  Ian Abbott <[EMAIL PROTECTED]>
>>
>>      * url.c (uri_merge_1): Deal with "net path" relative URL (one that
>>       starts with "//").
>>
> [...]
> 
> Thanks for the patch; I've now applied it (with minor changes in
> examples and comments.)

______________________________________________________________________

Maurice Cinquini            Senior Software Engineer
[EMAIL PROTECTED]      Speedera Networks
Work (408) 970 1500         4800 Great America Pwky, Suite 220
Fax  (408) 855 9543         Santa Clara, CA 95054-1227 USA
______________________________________________________________________

This message is for the named person(s) use only.  It may contain
confidential, proprietary or legally privileged information.  No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender.  You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. SPEEDERA NETWORKS, INC. reserves the right to
monitor all e-mail communications through its network.

Reply via email to