Re: [Uri-review] Request for review of "ab:" URI scheme

Bjoern Hoehrmann <derhoermi@gmx.net> Thu, 21 April 2011 20:14 UTC

Return-Path: <derhoermi@gmx.net>
X-Original-To: uri-review@ietfc.amsl.com
Delivered-To: uri-review@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 29FE4E07B0 for <uri-review@ietfc.amsl.com>; Thu, 21 Apr 2011 13:14:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.188
X-Spam-Level:
X-Spam-Status: No, score=-4.188 tagged_above=-999 required=5 tests=[AWL=-1.589, BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SLXql3gyQlEX for <uri-review@ietfc.amsl.com>; Thu, 21 Apr 2011 13:14:44 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfc.amsl.com (Postfix) with SMTP id 1BDEAE06D9 for <uri-review@ietf.org>; Thu, 21 Apr 2011 13:14:43 -0700 (PDT)
Received: (qmail invoked by alias); 21 Apr 2011 20:14:42 -0000
Received: from dslb-094-223-184-203.pools.arcor-ip.net (EHLO HIVE) [94.223.184.203] by mail.gmx.net (mp021) with SMTP; 21 Apr 2011 22:14:42 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX18op44MOdMopz1QKV1KCz7pjFNvMU56kqHgivBP9o EtCr1axqC29+W0
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Barry Leiba <barryleiba@computer.org>
Date: Thu, 21 Apr 2011 22:14:51 +0200
Message-ID: <e431r6hpjtbos6u94vips4slcnriht07c6@hive.bjoern.hoehrmann.de>
References: <BANLkTim8eWcWwKfyERghK2tuSP1rK0SdsA@mail.gmail.com> <cau0r6hqn16pgbr5p6adqaj9rjlns7cdlk@hive.bjoern.hoehrmann.de> <BANLkTikBSkyGF290Aamq2NuHJ7qjY9toug@mail.gmail.com>
In-Reply-To: <BANLkTikBSkyGF290Aamq2NuHJ7qjY9toug@mail.gmail.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: uri-review@ietf.org, draft-ietf-sieve-external-lists.all@tools.ietf.org
Subject: Re: [Uri-review] Request for review of "ab:" URI scheme
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/uri-review>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 20:14:45 -0000

* Barry Leiba wrote:
>[...]

(I, or others, will look at this when Alexey had a chance to respond.)

>> The draft needs to point out very clearly that implementations must,
>> if they process non-internal URIs, properly implement URI processing,
>> in particular %xx-escapes; right now the draft can easily be misread
>> to suggest a literal string comparison against "ab:default" is all
>> that is necessary for conformance.
>
>Interesting.  A reference to RFC 3986 isn't enough for that?  (Of
>course, I'd be happy to add such wording... but how much else do folks
>need to be told about how to use URIs, and why isn't that in a central
>place?)

The problem is that you are enumerating values like "ab:default" and
"ab:friends". Since it does not really make sense to write, instead,
"ab:%64efault", or, for that matter, "AB:default", I do think it is
important to re-inforce that this is URI processing and not keyword
matching. It would be well-defined without the reminder, but there's
little reason to expect implementers to get this right on their own.

(If escaping rules were second nature to everybody, there would be,
say, no SQL injection attacks, no XSS attacks, and so on.)

(I would probably make an example with something like "AB:%64efAulT"
and put up a note saying the example demonstrates that the scheme
name is case-insensitive and that escapes must be processed properly;
I am not sure if the draft defines if "default" is case-sensitive.)
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/