Re: URL, URI and the w3c

Daniel Stenberg <daniel@haxx.se> Tue, 14 June 2022 21:36 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 1F70CC157B5B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Jun 2022 14:36:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.657
X-Spam-Level:
X-Spam-Status: No, score=-2.657 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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
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 gfP0q6egGuda for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Jun 2022 14:36:27 -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 60B8DC157B54 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Jun 2022 14:36:27 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o1ECH-0000Dz-2s for ietf-http-wg-dist@listhub.w3.org; Tue, 14 Jun 2022 21:35:37 +0000
Resent-Date: Tue, 14 Jun 2022 21:35:37 +0000
Resent-Message-Id: <E1o1ECH-0000Dz-2s@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 <daniel@haxx.se>) id 1o1ECG-0000D5-99 for ietf-http-wg@listhub.w3.org; Tue, 14 Jun 2022 21:35:36 +0000
Received: from silly.haxx.se ([2a02:750:7:3305::2aa]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <daniel@haxx.se>) id 1o1ECE-0004sn-U6 for ietf-http-wg@w3.org; Tue, 14 Jun 2022 21:35:36 +0000
Received: by silly.haxx.se (Postfix, from userid 1001) id 8519A62022; Tue, 14 Jun 2022 23:35:22 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by silly.haxx.se (Postfix) with ESMTP id 8463D7D9BA; Tue, 14 Jun 2022 23:35:22 +0200 (CEST)
Date: Tue, 14 Jun 2022 23:35:22 +0200
From: Daniel Stenberg <daniel@haxx.se>
To: Roberto Polli <robipolli@gmail.com>
cc: Carsten Bormann <cabo@tzi.org>, HTTP Working Group <ietf-http-wg@w3.org>, Giuseppe De Marco <giuseppe.demarco@teamdigitale.governo.it>, ted.ietf@gmail.com
In-Reply-To: <CAP9qbHUDSGDWyDUzLykFkE_C+GKZGy5SYxNsX=feEnrAmkE1Bw@mail.gmail.com>
Message-ID: <80p9o6s5-5627-6311-o95r-457oq42pr9p@unkk.fr>
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>
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: text/plain; CHARSET="US-ASCII"; format="flowed"
Content-ID: <6538r7-nr98-92n7-29q2-9q2ns7onpr4@unkk.fr>
Received-SPF: pass client-ip=2a02:750:7:3305::2aa; envelope-from=daniel@haxx.se; helo=silly.haxx.se
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1o1ECE-0004sn-U6 e49c4deac22f2ed3ac04c6d395fc22ed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: URL, URI and the w3c
Archived-At: <https://www.w3.org/mid/80p9o6s5-5627-6311-o95r-457oq42pr9p@unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40105
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>

On Tue, 14 Jun 2022, Roberto Polli wrote:

> I am curious then what a specification like OAuth-Somethin which relies on 
> both browsers and generic user agents should adopt...

There are as many answers to that as there are URL/URI parser authors (= 
many). URL interop is very poor these days. I say this as someone who works 
with this challenge on a daily basis.

The current state of URLs and URIs cannot be described as anything less than a 
horrible mess, a security nightmare [*] and an infected area that lots of 
persons will not go near due to the past experiences and personal conflicts.

[*] = https://daniel.haxx.se/blog/2022/01/10/dont-mix-url-parsers/

-- 

  / daniel.haxx.se