Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 07 July 2021 02:44 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C02E3A19C4 for <ipv6@ietfa.amsl.com>; Tue, 6 Jul 2021 19:44:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.436
X-Spam-Level:
X-Spam-Status: No, score=-2.436 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.338, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 JYIKyE0qEKk5 for <ipv6@ietfa.amsl.com>; Tue, 6 Jul 2021 19:44:43 -0700 (PDT)
Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69C1F3A19C1 for <ipv6@ietf.org>; Tue, 6 Jul 2021 19:44:43 -0700 (PDT)
Received: by mail-pf1-x42f.google.com with SMTP id y2so821016pff.11 for <ipv6@ietf.org>; Tue, 06 Jul 2021 19:44:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aCJgjtx7ZgWRuiPMX7h0ZmMSNF2X4lDy/MlFiffvh7U=; b=Y+6uiXsINDKNrIs+vZA5m+7TBiUU8lVQdC5ZL0GuSsUBetHSrDcuty6N9mU2M4y2ms 5ywdxj9fI0/2lao9t8S/S88lYTNXVi8XhBRr+V/xDbairFohNydEoGImWz7zW2Y27rvE pPXxTvi34U29ay719f+7UL1Gx1R2pxvLASQYojJlAXsiQqf3b68qWqy5bZLrqkeIf0Hx dL3mOwtTkfl0RdYXHVhBxAaCQl0ibvUMl14a0XiNuJVelytArnwPt1u+EHXrb7DUoGhZ /5/TDGsBBRCgnTVOQtjm6TwMZWas4GtFBpGntlFPDXHVDjWOB0BG4Si3bDI/gM1J5yNa /eJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aCJgjtx7ZgWRuiPMX7h0ZmMSNF2X4lDy/MlFiffvh7U=; b=EpGy1zrqvqlz1Yu+24PnTlkveMdtKUuHS8qUSxxXPz4KEVvI4KMTLSwsxKtLMzb/bj RP0QXM1kvqgChtjrrWMw5rhcmv1xB4dzL6IAaJnb7Q1hvYJRnGOcSsw/fgtDra4f7UMP UPhyvkpKyRoodrmgbgGQHLftUfUq3Yu9cvq0MR64J1SBzMGjZMARpIxLC3XXN4TiFY58 yHGX7ZKHIRd7zeRHEz04GRTr+cKV+CcAgqe+Xq/WG4s03WI0NE5gY8IqkZqzdfMyFpQc g7bSFGw+GXKJhJaUUgHP4mi1WfeeV/isr7T9AW9t9C0dLnlauoibN2g/FAht2re/Boh+ IY9g==
X-Gm-Message-State: AOAM533hmEs+rUFiaURKI0vlqkOOPIa3x9Dz65QXMsH4Jpj+6Qs7A5xI 3LmmPSaoPiFnRec9s0M1ZMu8zbmkWYus0g==
X-Google-Smtp-Source: ABdhPJwsl5n3W8MoDe1Ere4W+QfZTF8F74TY3vfWaGdC/+K45AD+WF4BjXUfi4EWDh4wtk6CrLdvnA==
X-Received: by 2002:a63:5064:: with SMTP id q36mr23676851pgl.196.1625625881974; Tue, 06 Jul 2021 19:44:41 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:80b2:5c79:2266:e431? ([2406:e003:1188:5b01:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id g3sm4316137pjl.17.2021.07.06.19.44.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jul 2021 19:44:41 -0700 (PDT)
Subject: Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt
To: Nico Schottelius <nico.schottelius@ungleich.ch>, Andrew Cady <andy@cryptonomic.net>
Cc: ipv6@ietf.org
References: <162545101341.19246.8566193740265797873@ietfa.amsl.com> <95a7dbe5-e0a3-4676-9dcc-005ff53725e0@gmail.com> <CA+9kkMD3iSgo-KMM5Ed8bVnVCu_G3f2kB6zHKoOx2ta=x8QucA@mail.gmail.com> <CANMZLAbmdWHDRBPpHgy_e4_0-WUVW2gjnbXWwu2pF_xi-S0vWQ@mail.gmail.com> <87a6n13y0j.fsf@ungleich.ch> <CA+9kkMBx4F0FGZasdk11ogyCOwQZecAEkO4JbECDr4osySN-4w@mail.gmail.com> <20210706152527.j47rcxas5nwz5d63@zukertort.childrenofmay.org> <871r8bl3pq.fsf@ungleich.ch>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <da63ec9e-025b-bfec-a352-20a613885b2d@gmail.com>
Date: Wed, 07 Jul 2021 14:44:37 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <871r8bl3pq.fsf@ungleich.ch>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/L0kjSc0UHyQc056JqTnjzsazz3k>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2021 02:44:48 -0000

Nico,
On 07-Jul-21 06:03, Nico Schottelius wrote:
> 
> Andrew Cady <andy@cryptonomic.net> writes:
>> Please remember two facts and a corollary that I posted here last week:
>>
>>   1.  RFC3986 says percent-decoding is done AFTER parsing into components
>>       and subcomponents
>>
>>   2.  The IPv6 literal subcomponent is NOT percent-encoded.
>>
>>   2a. No percent-decoding is done (or allowed) on this parsed subcomponent.
>>
>> (Ref:<https://mailarchive.ietf.org/arch/msg/ipv6/FPLeDZXqJ1zwE1yF_Qkh7Ldq120/>)
> 
> I've skimmed RFC3986 and have a bit of trouble reading it - and maybe
> that's also the reason why browser developers had trouble properly
> implementing it.
> 
> For me the three statements from Andrew are well readable and
> understandable.
> 
> Would it by any chance be easier to create a specific RFC
> "Parsing of IPv6 literal addresses in URIs"
> that basically re-iterates the three sentences above and maybe even
> includes a parser description?

I would think that *when* we have agreed on a definitive solution,
we should add that text as an appendix to rfc6874bis.

> They are well reasoned, easy to understand and easy to implement. Given
> that we add a "reference parser", which could even be a regexp,
> developers might be able to "copy and paste" the parser into their code
> (+/- language bindings).

I think the browser implementers know their business better than 6MAN does,
but having a sample implementation is never a bad thing.

Regards
   Brian