From Klaus.Straubinger@SAP.Com Wed Sep 24 05:20:37 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Sep 2008 12:20:37 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8OCKWJV002273 for ; Wed, 24 Sep 2008 05:20:34 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiTM8-0003eB-7Z for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiTM6-0003bU-BO for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:30 -0400 Received: from [199.232.76.173] (port=35245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiTM6-0003bN-8F for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:30 -0400 Received: from smtpde01.sap-ag.de ([155.56.68.171]:43728) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KiTM5-00074D-OV for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:30 -0400 Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id m8OCJfoB005553 for ; Wed, 24 Sep 2008 14:19:44 +0200 (MEST) Message-ID: Date: Wed, 24 Sep 2008 14:19:34 +0200 () From: Klaus Straubinger To: bug-gnu-emacs@gnu.org Subject: url-expand-file-name expands wrongly on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Gnus/5.11 (Gnus v5.11) Emacs/22.3 X-Scanner: Virus Scanner virwal05 X-SAP: out X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' the problem described in still occurs. (url-expand-file-name "test" ["http" nil nil "www.gnu.org" 80 "/" nil nil t]) --> "http://www.gnu.org/c:/test"; (url-http-expand-file-name [nil nil nil nil nil "test" nil nil nil] ["http" nil nil "www.gnu.org" 80 "/" nil nil t]) --> "/c:/test" url-http-expand-file-name is an alias for url-default-expander; this could be changed. But currently the function url-default-expander calls the function expand-file-name while canonicalizing URLs. This is not a good idea on Windows because there the drive letter will be inserted. From rgm@gnu.org Wed Sep 24 10:08:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 24 Sep 2008 17:08:05 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8OH82P2008641 for ; Wed, 24 Sep 2008 10:08:03 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KiXoK-0007bH-Gv; Wed, 24 Sep 2008 13:05:56 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18650.29556.471536.562901@fencepost.gnu.org> Date: Wed, 24 Sep 2008 13:05:56 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: G\J:d@4:w6|oE-]*HfI\HTr(xt?IXOq;A.#wf'; Thu, 25 Sep 2008 05:32:10 -0700 Received: from zemdatav.stor.no-ip.org (persephone.tekno.chalmers.se [129.16.30.195]) by mail.chalmers.se (Postfix) with ESMTP id DE49A747C for ; Thu, 25 Sep 2008 14:32:07 +0200 (CEST) Received: by zemdatav.stor.no-ip.org (Postfix, from userid 1000) id 67FB343F2B; Thu, 25 Sep 2008 14:32:07 +0200 (CEST) From: Magnus Henoch To: control@debbugs.gnu.org Subject: Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se Disposition-Notification-To: Magnus Henoch X-Hashcash: 1:23:080925:control@emacsbugs.donarmstrong.com::mqGFpk0suYVqTU+C:000000000000000000000000001DPCD Date: Thu, 25 Sep 2008 14:32:05 +0200 Message-ID: <87d4isieyi.fsf@freemail.hu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reassign 1020 emacs,url thanks From lekktu@gmail.com Mon Jan 12 18:09:10 2009 Received: (at 1020) by emacsbugs.donarmstrong.com; 13 Jan 2009 02:09:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0D296O2024960 for <1020@emacsbugs.donarmstrong.com>; Mon, 12 Jan 2009 18:09:07 -0800 Received: by ewy14 with SMTP id 14so14827021ewy.1 for <1020@emacsbugs.donarmstrong.com>; Mon, 12 Jan 2009 18:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ADhF/hPS82+ppuS+FnFbLVALd/dVln1IoRhBDLAT2T8=; b=J4SMpPNY4dUvkcXSePToeAI9U8sYbvVoRrthbhX4+yXUexGEvRIFFAH/yZhuZ1g3X7 fNXy+zWrpTG1FRMqZx/FzWS+/x8p64F3FAkfz0E66Op7D05eJL/CujhGjOk/78KYVxzb AKSeG0TDUXXobPSQthQ8A5+NgCM05TlDFwPDQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=isNEo48jm9fWWFxOidDqUeI7p6gOM3NIoLVZ4r9T6WACwRe0fpnJZBPH/40ifiGkRl KMACyNxR2euBh94Uazk6Lk1E44tGHWqwbN6sHfzyz6rTy1f47otdnVT3VCvqQgxVnrqH zkwWu3d+4VC9RBfkWBNNf08ZrRbGjujiuz8H8= Received: by 10.210.59.14 with SMTP id h14mr10492782eba.81.1231812540797; Mon, 12 Jan 2009 18:09:00 -0800 (PST) Received: by 10.210.141.18 with HTTP; Mon, 12 Jan 2009 18:09:00 -0800 (PST) Message-ID: Date: Tue, 13 Jan 2009 03:09:00 +0100 From: "Juanma Barranquero" To: "Stefan Monnier" Subject: Re: url-default-expander expands wrongly on Windows Cc: "Klaus Straubinger" , 1020@debbugs.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: On Thu, Mar 27, 2008 at 14:54, Stefan Monnier wrote: >> the function url-default-expander calls expand-file-name which >> inserts interesting but wrong drive letters into URLs when called >> on Windows. > > Can you show an example so as to help us understand the problem? ELISP> (url-expand-file-name "test" "http://www.gnu.org/") "http://www.gnu.org/c:/test" ELISP> (url-expand-file-name "test" "http://www.gnu.org") "http://www.gnu.org/c:/emacs/lisp/url/test" ELISP> (url-expand-file-name "/test" "http://www.gnu.org/") "http://www.gnu.org/test" ELISP> (url-expand-file-name "/test" "http://www.gnu.org") "http://www.gnu.org/test" Juanma From jasonrumney@gmail.com Sat Feb 21 00:00:36 2009 Received: (at 1020-done) by emacsbugs.donarmstrong.com; 21 Feb 2009 08:00:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1L80W7k019471 for <1020-done@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 00:00:34 -0800 Received: by ti-out-0910.google.com with SMTP id 28so1003549tif.1 for <1020-done@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 00:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=4oWX/Za8vMblWqszAV6g86V6Ei7U75gxC/8+o3zsr2I=; b=Wbysfv8dwQCtin63wArKYRn1yMUIlmWN+4wFkGhEayfJbxeID72kOwSQHVwJsAd3za 1yuGFxi+b17tqcHmQENr9nJg2Ke8THz9RfTOWWF/3fTd64kzZYUPYC9Vea6V2MBDm7Iw I0v/W1voWiRBYNkrA8UKSforKMKIGBRmgqd6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=RHHm4b1QR23TYmCJopYMac8mBZDUsrH/R2Cx2PzEINYgpE3R0WZa7LKOwOX1+Nnq10 Irk1UEDSHkrhsVK/dD4vkIOlrTfWhdPPyTwSSNEGzJfXtGc0etQMyefgFFKNCBOxYyKF mjOAleeVh6vwrMquW3/WF51JmADjHt3sAt6CI= Received: by 10.110.62.1 with SMTP id k1mr2368557tia.8.1235203231779; Sat, 21 Feb 2009 00:00:31 -0800 (PST) Received: from ?192.168.249.27? ([118.101.26.137]) by mx.google.com with ESMTPS id i9sm744018tid.33.2009.02.21.00.00.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Feb 2009 00:00:31 -0800 (PST) Sender: Jason Rumney Message-ID: <499FB483.5020609@gnu.org> Date: Sat, 21 Feb 2009 16:00:03 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Juanma Barranquero , 1020-done@debbugs.gnu.org CC: Klaus Straubinger Subject: Re: bug#1020: url-default-expander expands wrongly on Windows References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Juanma Barranquero wrote: >>> the function url-default-expander calls expand-file-name which >>> inserts interesting but wrong drive letters into URLs when called >>> on Windows. >>> > ELISP> (url-expand-file-name "test" "http://www.gnu.org/") > "http://www.gnu.org/c:/test" > ELISP> (url-expand-file-name "test" "http://www.gnu.org") > "http://www.gnu.org/c:/emacs/lisp/url/test" > ELISP> (url-expand-file-name "/test" "http://www.gnu.org/") > "http://www.gnu.org/test" > ELISP> (url-expand-file-name "/test" "http://www.gnu.org") > "http://www.gnu.org/test" > I have changed url-default-expand to use concat instead of expand-file-name to avoid this bug. From unknown Mon Aug 18 02:39:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 21 Mar 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator