X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 30 Mar 2012 17:14:32 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygstart doesn't handle question marks in mailto URLs
Message-ID: <20120330151432.GR30721@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4F75B4D7.8060407@cornell.edu> <4F75B89A.8050301@cs.utoronto.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <4F75B89A.8050301@cs.utoronto.ca>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mar 30 09:43, Ryan Johnson wrote:
> On 30/03/2012 9:27 AM, Ken Brown wrote:
> >If I type `cygstart mailto:recipient?subject=subject' at a Cygwin
> >bash prompt, I expect my default Windows mail program to start an
> >outgoing message with `recipient' as recipient and `subject' as
> >subject. (This is what happens if I type the same URL into a
> >`Start Menu -> Run' box.) What happens instead is that
> >`recipient?subject=subject' shows up as the recipient, with the
> >question mark replaced by something unprintable, and the subject
> >is blank.
> 
> The same behavior is observed with `cygpath -wa ?' (and also cygpath
> -w, if the path passed in was non-trivial):
> >$ cygpath -wa ?
> >C:\cygwin\home\Ryan\
> >
> >$ cygpath -w ?
> >?
> >
> >$ cygpath -w ../?
> >C:\cygwin\home\
> 
> FYI, the "unprintable" character is U+F03F, which is not even a
> valid unicode character.
> 
> >Is this a bug in cygstart, or am I misunderstanding something?
> I suspect a bug in the way cygwin1.dll handles conversion from unix-
> to windows-style paths.

http://cygwin.com/acronyms/#IAFNAB

http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

