delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/27/20:53:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4158B6E2.B62D1A91@dessent.net>
Date: Mon, 27 Sep 2004 17:57:06 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Wget incorrectly mirroring some web site directories and files.
References: <4158B157 DOT 1070507 AT serv DOT net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

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.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019