delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/04/22:23:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3CD497B9.1010507@ece.gatech.edu>
Date: Sat, 04 May 2002 22:23:53 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
CC: cygwin AT cygwin DOT com
Subject: Re: setup.exe (2-194-2-26) - blind or stupid?
References: <FC169E059D1A0442A04C40F86D9BA7600C5FC6 AT itdomain003 DOT itdomain DOT net DOT au>

Robert Collins wrote:


> 
>>And, one more problem. Or not a problem?
>>I'm not have to see directories like http%3someone. His name (contains
>>percents) potentially destructive.
>>
> 
> Whats destructive about a %? Its not an escape character for shell utilities or windows AFAIK.

Actaully, it's the variable replacement character for command.com and 
cmd.exe, similar to the $ char in every other shell known to mankind, 
except that the variable must be prefixed AND appended with the % char:

 > echo %USERNAME%
cwilson
 >

However, I don't see how that could cause a problem -- unless someone 
was attempting to TYPE the directory name by hand into a command.com 
shell (without bash)...and even THEN it probably wouldn't HURT anything...

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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