Re: [apps-discuss] I-D Action: draft-ietf-appsawg-file-scheme-07.txt

Daniel Stenberg <daniel@haxx.se> Thu, 21 April 2016 06:35 UTC

Return-Path: <daniel@haxx.se>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96CBF12E274 for <apps-discuss@ietfa.amsl.com>; Wed, 20 Apr 2016 23:35:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.197
X-Spam-Level:
X-Spam-Status: No, score=-5.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ASct-nW6re5b for <apps-discuss@ietfa.amsl.com>; Wed, 20 Apr 2016 23:35:40 -0700 (PDT)
Received: from giant.haxx.se (www.haxx.se [IPv6:2a00:1a28:1200:9::2]) by ietfa.amsl.com (Postfix) with ESMTP id A09E112E13C for <apps-discuss@ietf.org>; Wed, 20 Apr 2016 23:35:38 -0700 (PDT)
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u3L6ZRCO009468 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Apr 2016 08:35:27 +0200
Received: from localhost (dast@localhost) by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u3L6ZQ2j009456; Thu, 21 Apr 2016 08:35:26 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Thu, 21 Apr 2016 08:35:26 +0200 (CEST)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Matthew Kerwin <matthew@kerwin.net.au>
In-Reply-To: <CACweHNAA36TGMCi3nKpXUK7exw67DK3LmgSKEhra3uOwq2m3Jg@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1604210831460.20194@tvnag.unkk.fr>
References: <20160420052342.31621.37367.idtracker@ietfa.amsl.com> <CACweHNBh+_EUu8Upj-8JmRtPNZvBV3UAd--MG920V6Xbby-=Ww@mail.gmail.com> <57180E49.1090909@ninebynine.org> <CACweHNAA36TGMCi3nKpXUK7exw67DK3LmgSKEhra3uOwq2m3Jg@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/ngUhoJVDtqNRw_PyGhQD2iw6yPU>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, Graham Klyne <gk@ninebynine.org>, Dave Crocker <dcrocker@bbiw.net>, IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] I-D Action: draft-ietf-appsawg-file-scheme-07.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 06:35:41 -0000

On Thu, 21 Apr 2016, Matthew Kerwin wrote:

> You know what, I think you're right, and I've been suffering from
> confirmation bias. I just tested it again, and both Chromium and Firefox do
> treat my machine's network name the same as "localhost".

They treat _any_ name as localhost as far as my tests show (on Linux). And so 
does curl.

Figuring out your own name and making sure the name in the file:// URI is one 
of those is really tricky (and slow) business.

-- 

  / daniel.haxx.se