[MMUSIC] RID Open Issue 3: Escaping in Extension Parameters

Adam Roach <adam@nostrum.com> Mon, 02 November 2015 04:42 UTC

Return-Path: <adam@nostrum.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1F971B29D0 for <mmusic@ietfa.amsl.com>; Sun, 1 Nov 2015 20:42:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 8xxPupcZHyFQ for <mmusic@ietfa.amsl.com>; Sun, 1 Nov 2015 20:42:39 -0800 (PST)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 6E0721B29E5 for <mmusic@ietf.org>; Sun, 1 Nov 2015 20:42:38 -0800 (PST)
Received: from dhcp-34-223.meeting.ietf94.jp (dhcp-34-223.meeting.ietf94.jp [133.93.34.223]) (authenticated bits=0) by nostrum.com (8.15.2/8.14.9) with ESMTPSA id tA24garL000676 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for <mmusic@ietf.org>; Sun, 1 Nov 2015 22:42:37 -0600 (CST) (envelope-from adam@nostrum.com)
To: "mmusic@ietf.org" <mmusic@ietf.org>
From: Adam Roach <adam@nostrum.com>
Message-ID: <5636E9BC.5070902@nostrum.com>
Date: Mon, 02 Nov 2015 13:42:36 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/0nSr9OJs2gcHiIasM_FU65m1KEo>
Subject: [MMUSIC] RID Open Issue 3: Escaping in Extension Parameters
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Nov 2015 04:42:40 -0000

The parameters on an “a=rid:” line are extensible. The syntax for these is:

    rid-param-other = 1*(alpha-numeric / "-") [ "=" param-val ]
    param-val = *( %x20-58 / %x60-7E ) ; Any printable character except 
semicolon

If an extension has values that can contain semicolons, they need an 
escaping mechanism. Note that this is not an issue for any currently 
defined parameters, as they all take numeric values only.

 1. Change extension syntax to only allow numeric values
 2. Define a universal escaping mechanism for all extensions to use
 3. Leave this problem for the first extension parameter – if any – to
    define value in a way that might allow a semicolon

Thoughts?

/a mmusic-rid.pptx mmusic-rid.pptx