From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13171 invoked by alias); 13 Jul 2012 13:19:31 -0000 Received: (qmail 13086 invoked by uid 22791); 13 Jul 2012 13:19:30 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bureau85.ns.utoronto.ca (HELO bureau85.ns.utoronto.ca) (128.100.132.185) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Jul 2012 13:19:16 +0000 Received: from [192.168.0.100] (69-196-178-238.dsl.teksavvy.com [69.196.178.238]) (authenticated bits=0) by bureau85.ns.utoronto.ca (8.13.8/8.13.8) with ESMTP id q6DDJD9h002794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Jul 2012 09:19:14 -0400 Message-ID: <50002053.4050706@cs.utoronto.ca> Date: Fri, 13 Jul 2012 13:19:00 -0000 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Open URLs with # using cygstart.exe References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00271.txt.bz2 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