This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wget incorrectly mirroring some web site directories and files.

Brian Dessent wrote:
L Anderson wrote:

Is it a bug/feature in 'wget'; i.e., 'wget' handles the '\' not as a
directory thingy but as part of the file name thus converting things
like 'x\y' to 'x%5Cy' or is it caused by some other part of cygwin?

This is the fault of the web site author.  If he uses <img
src="x\y.jpg"> in his html then the correct behavior of the browser is
to attempt to download x%5Cy.jpg.  That is, backslashes are not valid
path seperators in URLs, and it's only because your browser is allowing
you some leeway and not following the standards that the site works
correctly.  Email the person that created the page and tell them not to
use backslashes in URLs as path seperators.

Aaarrrrggghhhh!! I was afraid of something like this. It's amazing how many web authors do it. Your rapid reply certainly saved me from chasing a fruitless rabbit down the wrong hole, so to speak.

Thanks much!!!

Lowell Anderson

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]