delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/27/21:45:12

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: <4158C207.4@serv.net>
Date: Mon, 27 Sep 2004 18:44:39 -0700
From: L Anderson <lowella AT serv DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.1) Gecko/20040707
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> <4158B6E2 DOT B62D1A91 AT dessent DOT net>
In-Reply-To: <4158B6E2.B62D1A91@dessent.net>
X-IsSubscribed: yes

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:      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