This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygstart doesn't handle question marks in mailto URLs
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin <cygwin at cygwin dot com>
- Date: Fri, 30 Mar 2012 09:27:51 -0400
- Subject: cygstart doesn't handle question marks in mailto URLs
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.
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.
Ken
--
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