Re: [VCARDDAV] Escaping dquote in a parameter value

Cyrus Daboo <cyrus@daboo.name> Wed, 20 June 2012 14:22 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BBED21F875A; Wed, 20 Jun 2012 07:22:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.25
X-Spam-Level:
X-Spam-Status: No, score=-102.25 tagged_above=-999 required=5 tests=[AWL=0.349, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WZDRxUswfeSj; Wed, 20 Jun 2012 07:22:16 -0700 (PDT)
Received: from daboo.name (daboo.name [173.13.55.49]) by ietfa.amsl.com (Postfix) with ESMTP id 8994521F86DB; Wed, 20 Jun 2012 07:22:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 2DD2A29B8609; Wed, 20 Jun 2012 10:22:15 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wlHzmlUJRD3d; Wed, 20 Jun 2012 10:22:14 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.45.162.46]) by daboo.name (Postfix) with ESMTPSA id 3BB1229B85FE; Wed, 20 Jun 2012 10:22:13 -0400 (EDT)
Date: Wed, 20 Jun 2012 10:22:10 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Simon Perreault <simon.perreault@viagenie.ca>
Message-ID: <1ECDAFD01B81379A9A532D86@caldav.corp.apple.com>
In-Reply-To: <4FE1D6E9.8020303@viagenie.ca>
References: <50174924F12AC68AE58D5384@cyrus.local> <4FE1D6E9.8020303@viagenie.ca>
X-Mailer: Mulberry/4.1.0a3 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1225"
Cc: Calsify <calsify@ietf.org>, vcarddav@ietf.org
Subject: Re: [VCARDDAV] Escaping dquote in a parameter value
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jun 2012 14:22:17 -0000

Hi Simon,

--On June 20, 2012 9:58:01 AM -0400 Simon Perreault 
<simon.perreault@viagenie.ca> wrote:

> Interesting. I follow your reasoning and agree with your conclusion.
>
> Have you actually come across a parameter value that needed to contain a
> dquote?

yes, there are some cases where it is handy to include additional 
parameters on existing properties. e.g., consider IMPP which is specified 
as a URI for an IM service:

IMPP:xmpp:alice@example.com

Often times, people use arbitrary "display names" (handles) in their IM 
clients, and it would be handy to have those listed in the vcard via a 
parameter on the IMPP property. However, there is no restriction on using a 
DQUOTE in such display names, so we need to allow for DQUOTEs in the 
parameter value.

A similar issue exists for the (now defunct) SOCIALPROFILE property, which 
I still have an interest in using and reviving.

In iCalendar, a good example is the CN parameter (Common Name). Some 
systems allow users to configure their own names so they can add "phrases" 
in the middle, e.g. 'Cyrus "Mulberry Dude" Daboo'. Or perhaps a room or 
resource has a "quoted" title in its name too. So again, there is a need to 
support DQUOTE.

-- 
Cyrus Daboo