Re: [art] Question regarding RFC 6570
Peter Occil <poccil14@gmail.com> Thu, 02 August 2018 04:27 UTC
Return-Path: <poccil14@gmail.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E560A130DD0 for <art@ietfa.amsl.com>; Wed, 1 Aug 2018 21:27:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 CD1JQhRRfw4h for <art@ietfa.amsl.com>; Wed, 1 Aug 2018 21:27:50 -0700 (PDT)
Received: from mail-yb0-x22d.google.com (mail-yb0-x22d.google.com [IPv6:2607:f8b0:4002:c09::22d]) (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 9E3BE130DC3 for <art@ietf.org>; Wed, 1 Aug 2018 21:27:50 -0700 (PDT)
Received: by mail-yb0-x22d.google.com with SMTP id s1-v6so354340ybk.3 for <art@ietf.org>; Wed, 01 Aug 2018 21:27:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance:in-reply-to :references; bh=O9OqyKdP4zgvqzWExr0MYWYewfbhDxYRv/KKIRzHQpw=; b=goBvDiyhfbgVZDEkpdEfxnwWSVFywAHzsZk97/LzB8AYwdzueb6867D/kFJB4JJIT9 0+ZhlC+kmJW9USVa8JYGFcdn5FeB2s4WZsKXxrxnzAjLW8x44nTWH/PD2hvMF4PngFAa UlM4shhxX9Cbbk5f5qbEU9f4xpbOQev+cL51RaVYM2EZZ1kzEej+POyQUMrdtfBmzYxZ utqcTm5v3zBHVIHd5uKuNgxn0oO6eEz5JoDTg2R8bwu2NPuijtkYPLiq2vy9hS5tJk8a W5MBuBQGIA1FlrinG3eq4xrFITxRi8aBQZ4AS2VIRSgTQQrB1jTzV8B0sUAE795k2pND UsxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance:in-reply-to:references; bh=O9OqyKdP4zgvqzWExr0MYWYewfbhDxYRv/KKIRzHQpw=; b=TPDaJ2fDusNzf7dCG0H6B5jN5kXeJo6INXTYHBf+BZuWVPndw1EqT7ruobTwJE8x8o 4XInO7MMFLiavXbwLH0tiepn3iTsYh/QjmrTM0A/wx1AAD1dOshPX/dXKjWJfNWPbQpM 1d/1ManuieIuASbIrdWjIv3hydzBAQKKLOd50BEL1AVto/rS3RHMfZAM662KGjov72Xg VR6U2hPgfZzmqGWGMToC8QlC+IF1E/CwLtz+9re6qN28ILWj5UgXt63AZFzki6F4nqhX wyFZ34jETstYgKnuPk/wQg8PxrCgalMydF2Fm5+te5AniIWDPenDTuz9xO/ySnZ7L5mZ hdSQ==
X-Gm-Message-State: AOUpUlFJBafLQ1geDPvc0/BEnG2rJVZRG/Kaai4rRPyOz+wmVw0SnkLu dKvyvsPLAty4l7KToila/HL+HRxF
X-Google-Smtp-Source: AAOMgpd1Ma4ezyo/EMxQKa5fWf39AGzrWLCJFi1oJjqzXmqNozQ8RIRR60IivTMsTn+onPbewM78Ag==
X-Received: by 2002:a25:a185:: with SMTP id a5-v6mr521197ybi.205.1533184069704; Wed, 01 Aug 2018 21:27:49 -0700 (PDT)
Received: from ?IPv6:2601:192:4e00:596:3097:9786:ccbb:3fb6? ([2601:192:4e00:596:3097:9786:ccbb:3fb6]) by smtp.gmail.com with ESMTPSA id s63-v6sm338309ywd.63.2018.08.01.21.27.43 for <art@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 21:27:49 -0700 (PDT)
Message-ID: <5b628845.1c69fb81.7b0ef.19a1@mx.google.com>
MIME-Version: 1.0
To: "art@ietf.org" <art@ietf.org>
From: Peter Occil <poccil14@gmail.com>
Date: Thu, 02 Aug 2018 00:27:43 -0400
Importance: normal
X-Priority: 3
In-Reply-To: <5b628653.1c69fb81.fb5d.0ed3@mx.google.com>
References: <5b6285d3.1c69fb81.d95f3.81ba@mx.google.com> <5b628653.1c69fb81.fb5d.0ed3@mx.google.com>
Content-Type: multipart/alternative; boundary="_0C5FA5DC-27AA-4DC7-9D43-24372462BC83_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/vINxoqPRKK2XBSEbThzR16V-O4c>
Subject: Re: [art] Question regarding RFC 6570
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2018 04:27:52 -0000
Strike out the following text: Is the second template expanded to "a", "aB", "a%42", "a%", or something else? And insert: Is the second template expanded to "a", "aB", "a%42", "a%25", or something else? From: Peter Occil Sent: Thursday, August 2, 2018 12:19 AM To: art@ietf.org Cc: iesg@ietf.org Subject: Question regarding RFC 6570 (Sorry, I meant to send this message to the ART mailing list.) It seems that the URI Templates document (RFC 6570) doesn't sufficiently clarify the behavior with variable values with well-formed pct-encoded components. Take the following variable names and their values: pctat2 := "a%42" pctat3 := "ab%43" pctat0 := "%42ab" For the purpose of variable expansion, are valid pct-encoded components in the variable value first decoded before appending the string? (The only example in the document with "%", "half", included an ill-formed pct-encoded component.) And given the definitions above, how are the following templates expanded? {pctat2} {pctat2:2} {pctat2:3} {pctat2:4} {pctat3:3} {pctat3:4} {pctat0:1} {pctat0:2} {pctat0:3} (For example, is the first template given expanded to "aB" or "a%42"? Is the second template expanded to "a", "aB", "a%42", "a%", or something else?)
- Re: [art] Question regarding RFC 6570 Peter Occil
- [art] Question regarding RFC 6570 Peter Occil