This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygstart doesn't handle question marks in mailto URLs

Barry Buchbinder sent the following at Friday, March 30, 2012 10:23 AM
>Ken Brown sent the following at Friday, March 30, 2012 9:28 AM
>>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.) the
>>  What happens instead is that `recipient?subject=subject' shows up as
>>recipient, with the question mark replaced by something unprintable, and
>>the subject is blank.
>>Is this a bug in cygstart, or am I misunderstanding something?
>>My reason for asking this is that I'm testing xdg-utils, which is
>>currently available in Cygwin Ports but which will probably be added to
>>the Cygwin distro at some point. I would like xdg-open to be able to
>>handle mailto URLs correctly if I export BROWSER=cygstart.
>Using "&" instead of "?" does what you want with both cygstart and
>Windows' "run".  Remember to escape the "&" when using cygstart.

Sorry for an incomplete post:  With Outlook 2010 on W7.  YMMV.

Hope that helps,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]