| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_NEUTRAL,TW_YG |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4F75B89A.8050301@cs.utoronto.ca> |
| Date: | Fri, 30 Mar 2012 09:43:54 -0400 |
| From: | Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: cygstart doesn't handle question marks in mailto URLs |
| References: | <4F75B4D7 DOT 8060407 AT cornell DOT edu> |
| In-Reply-To: | <4F75B4D7.8060407@cornell.edu> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
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. Ryan -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |