On 27 Sep 2001 at 22:23, Mark D. Roth wrote:

> Now, if you run "wget -p -k http://www.foo.com/basepath/foo.html";, the
> "<IMG>" tags are left as-is.  However, if you add "-nd", the URL in
> "<IMG>" tag gets set to "http://www.foo.com/basepath/foo1.gif";.  For
> some reason, it's being set to an absolute URL, and not even the
> correct absolute URL, because the subdirectory information is getting
> lost!
> 
> Has anyone else run into this problem?  Is there a fix for it?

This sounds like it is related to the problem described in these 
messages from the archive:

This one by Lenny Foner describes a problem with -k:

http://www.mail-archive.com/wget%40sunsite.dk/msg01587.html

This one by Wayne Schlitt offers various patches relative to a 
development version of wget:

http://www.mail-archive.com/wget%40sunsite.dk/msg01594.html

I've just tried Wayne's patches locally and they seem to fix the 
problem. Some of the starting lines in the patches differed to those in 
the current CVS version, but I got them to apply okay.

Reply via email to