Re: URL, URI and the w3c

Tim Bray <tbray@textuality.com> Tue, 14 June 2022 21:50 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 097B6C15948E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Jun 2022 14:50:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.656
X-Spam-Level:
X-Spam-Status: No, score=-2.656 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=textuality-com.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xjN26aoHX_W2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Jun 2022 14:50:14 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3CD04C157B54 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Jun 2022 14:50:14 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o1ENY-0003Mu-Qr for ietf-http-wg-dist@listhub.w3.org; Tue, 14 Jun 2022 21:47:16 +0000
Resent-Date: Tue, 14 Jun 2022 21:47:16 +0000
Resent-Message-Id: <E1o1ENY-0003Mu-Qr@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <tbray@textuality.com>) id 1o1ENW-0003Ll-St for ietf-http-wg@listhub.w3.org; Tue, 14 Jun 2022 21:47:14 +0000
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <tbray@textuality.com>) id 1o1ENV-00059X-8K for ietf-http-wg@w3.org; Tue, 14 Jun 2022 21:47:14 +0000
Received: by mail-ed1-x536.google.com with SMTP id z7so13449823edm.13 for <ietf-http-wg@w3.org>; Tue, 14 Jun 2022 14:47:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=textuality-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/j7U0BXIiMG/tyZB5CvaZXBz19xBXSGYHvtumAn4fNQ=; b=L2qpmR2CjvK41tHemXzxTGfUvah49MmZ/R1jzXZdl8VMTYOySY1n5mXfviMkoGygXa Fcefwm6+AyQmIjX58x2d4zOJoybdgUQFc2JbxPtGMAmq7rxBwzYlzISJL5jxObj1OAs2 KgS880uhGIBkqDYL2yTcsAJRPnh4xCvxJOiEFepyFz92kIa2HJFTwVw7VNo/PMW9r8Z9 voFQwizj636JB22e8TbpRm8I28LnGQGwrZAmt9ZhVWe+niD1iP747+KlpwYa1J5HJP/C WfvoaHXGprPCjqtM1vadwksB8FJkWzQGraPzuNanMRVldcfM8/HUgkrfDgt7nkk1BXq1 O/bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/j7U0BXIiMG/tyZB5CvaZXBz19xBXSGYHvtumAn4fNQ=; b=3tAkuy/fUkGU8vfvF8tt9+kSyZ8spQeAde565/A+m/i9tfXGI2loZ+WQwtaWW4/21Z fG1nuv0p3P+/DqrnxbhHyxeqjC86Ux6ILKLUSZRk7b3FTMOH5Z2vv07wDwK06Zp5Y5g/ ACtynYUP2TesDVzetQAcoeKehrNXN4y/oA5mxyk3UR2jmEVr8rEfiX7wZ0e3y93TetPK uK2Hu6hmnflcvfDmAv55VL2inVl0UtSH29AS3XOy+cMM/QQTQpWB2qX44/5eO3uLVdjy wWS76mCizCRBhBnHrmqsiC43vICGbGxCF7Qu66mOJ8mZMAQwsEw7LOhh2JujP2yZ0yi0 oYLA==
X-Gm-Message-State: AJIora8ezFJ0lDTOPCa5BCmCxds+viw442eMulAR4xWDtas/plryJLz/ nRG2GyX8kS9Dw6Qiul9aQeBzvTO/JM/Dv/iKRJsV2w==
X-Google-Smtp-Source: ABdhPJy+ObpwMaKveQ1pbnkKUxFGW89sUemQkkgvnJEGPY5UA79Rf0UG6LaLDSYBJbxZmmyp8Yvx1TNBXt40rJ7dSh4=
X-Received: by 2002:aa7:cb05:0:b0:431:95b9:6d31 with SMTP id s5-20020aa7cb05000000b0043195b96d31mr8670551edt.56.1655243221341; Tue, 14 Jun 2022 14:47:01 -0700 (PDT)
MIME-Version: 1.0
References: <CAP9qbHVQ7B423jc7tHQo70ZAeXmFHdZo-=JvTSj5L2D6uTTQ9A@mail.gmail.com> <3n57428s-3052-66q7-prp8-118s19q41461@unkk.fr> <A90EB729-EA13-42E1-94F1-4410334E907E@tzi.org> <CAP9qbHUDSGDWyDUzLykFkE_C+GKZGy5SYxNsX=feEnrAmkE1Bw@mail.gmail.com> <CAHBU6iuxgqbkC3nLUi7w+o4JcSMPkW3FmC1b1C4=qRM-ZxUWiQ@mail.gmail.com> <895n295o-175q-ppn7-1472-p4np728p70o1@unkk.fr>
In-Reply-To: <895n295o-175q-ppn7-1472-p4np728p70o1@unkk.fr>
From: Tim Bray <tbray@textuality.com>
Date: Tue, 14 Jun 2022 14:46:50 -0700
Message-ID: <CAHBU6it+PjWcnQ9xHisw3YpzVy_Yyk1QNQR+GhOT80AZOxdrQg@mail.gmail.com>
To: Daniel Stenberg <daniel@haxx.se>
Cc: Roberto Polli <robipolli@gmail.com>, Carsten Bormann <cabo@tzi.org>, HTTP Working Group <ietf-http-wg@w3.org>, Giuseppe De Marco <giuseppe.demarco@teamdigitale.governo.it>, Ted Hardie <ted.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000039a8b805e16f5811"
Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=tbray@textuality.com; helo=mail-ed1-x536.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=tbray@textuality.com domain=textuality-com.20210112.gappssmtp.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1o1ENV-00059X-8K 64d0220a398225f9d8d661b68e878ba3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: URL, URI and the w3c
Archived-At: <https://www.w3.org/mid/CAHBU6it+PjWcnQ9xHisw3YpzVy_Yyk1QNQR+GhOT80AZOxdrQg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40106
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

I was saying something more specific. AFAIK, an 3986-conforming URL will
generally be interpreted by browsers in the way its author intended.

I went through https://github.com/bagder/docs/blob/master/URL-interop.md
and let me revise that slightly: Any 3986-conforming URL that is plausible
for inclusion in an Internet-Draft will generally be interpreted by
browsers in the way its author intended.  I was having trouble finding
counter-examples but am prepared to believe that I'm missing something
obvious.

On Tue, Jun 14, 2022 at 2:33 PM Daniel Stenberg <daniel@haxx.se> wrote:

> On Tue, 14 Jun 2022, Tim Bray wrote:
>
> > I think it’s the case that browsers will accept any 3986-conforming URI
> > that is within its abilities, i.e. http:, https: (and maybe ftp, etc?).
>
> No, sorry, that's not true. The browsers accept and work with the WHATWG
> URL
> spec style of URLs and they are incompatible with 3986-conforming URIs
> (and
> 3987 IRIs) in numerous ways. As I've explained.
>
> --
>
>   / daniel.haxx.se