From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
To: cygwin@cygwin.com
Subject: Re: Open URLs with # using cygstart.exe
Date: Fri, 13 Jul 2012 13:19:00 -0000 [thread overview]
Message-ID: <50002053.4050706@cs.utoronto.ca> (raw)
In-Reply-To: <F28677F6-FCA9-43AD-8B95-F9B991B33B97@mcs.st-andrews.ac.uk>
On 13/07/2012 9:02 AM, Alexander Konovalov wrote:
> Thanks for replies. I am running 64-bit Windows 7, Cygwin 1.7.11 (2012-02-24).
> The default browser is Chrome, but I've tried with Firefox and InternetExplorer -
> same result whenever I'm using single quotes or not with each of the three
> browsers. Remote URLs indeed work fine. With the local URL address line of the
> browser contains truncated URL without '#...' part so maybe cygstart parses
> its argument differently dependently whether it starts with file:// or http://?
Just say no to http://cygwin.com/acronyms/#TOFU
Also, you've got a fairly old version of cygwin there...
Cygstart does not actually parse general URIs. For a long time it had a
special case that tested explicitly for `http:', and recently added
`mailto:' after a similar issue arose [1]. Ironically, most URIs seem to
work precisely because cygstart *doesn't* know what to do with them and
passes them along as-is, giving Windows a chance to do the right thing.
[1] http://cygwin.com/ml/cygwin/2012-03/msg00810.html
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
next prev parent reply other threads:[~2012-07-13 13:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-13 12:06 Alexander Konovalov
2012-07-13 12:27 ` Csaba Raduly
2012-07-13 12:38 ` Dima Pasechnik
2012-07-13 13:03 ` Alexander Konovalov
2012-07-13 13:19 ` Ryan Johnson [this message]
2012-07-13 13:21 ` Ryan Johnson
2012-07-14 7:25 ` Dima Pasechnik
2012-07-13 14:45 ` Dima Pasechnik
2012-07-14 2:05 ` Andrey Repin
2012-07-14 2:38 ` Ken Brown
2012-07-13 13:14 ` Adam Dinwoodie
2012-07-13 15:33 ` Earnie Boyd
2012-07-13 15:37 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50002053.4050706@cs.utoronto.ca \
--to=ryan.johnson@cs.utoronto.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).