Re: [EAI] UTF-8 mailto escaping

Shawn Steele <Shawn.Steele@microsoft.com> Thu, 25 June 2009 19:35 UTC

Return-Path: <Shawn.Steele@microsoft.com>
X-Original-To: ima@core3.amsl.com
Delivered-To: ima@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C2D453A6972 for <ima@core3.amsl.com>; Thu, 25 Jun 2009 12:35:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.994
X-Spam-Level:
X-Spam-Status: No, score=-9.994 tagged_above=-999 required=5 tests=[AWL=-1.171, BAYES_05=-1.11, HTML_MESSAGE=0.001, HTTP_ESCAPED_HOST=0.134, RCVD_IN_DNSWL_HI=-8, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BNOjjVY6qA9h for <ima@core3.amsl.com>; Thu, 25 Jun 2009 12:35:08 -0700 (PDT)
Received: from smtp.microsoft.com (mailc.microsoft.com [131.107.115.214]) by core3.amsl.com (Postfix) with ESMTP id 79ACA3A693B for <ima@ietf.org>; Thu, 25 Jun 2009 12:35:08 -0700 (PDT)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.99.4; Thu, 25 Jun 2009 12:33:55 -0700
Received: from tk5ex14mbxc105.redmond.corp.microsoft.com ([157.54.79.177]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi; Thu, 25 Jun 2009 12:33:54 -0700
From: Shawn Steele <Shawn.Steele@microsoft.com>
To: "ima@ietf.org" <ima@ietf.org>
Thread-Topic: UTF-8 mailto escaping
Thread-Index: Acn1H/ezxQDywL+pRNKGkT65eJ7vYQAqb6NB
Date: Thu, 25 Jun 2009 19:33:54 +0000
Message-ID: <CAD7705D4A93814F97D3EF00790AF0B315F4D6C9@tk5ex14mbxc105.redmond.corp.microsoft.com>
References: <CAD7705D4A93814F97D3EF00790AF0B315F4CA26@tk5ex14mbxc105.redmond.corp.microsoft.com>
In-Reply-To: <CAD7705D4A93814F97D3EF00790AF0B315F4CA26@tk5ex14mbxc105.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_CAD7705D4A93814F97D3EF00790AF0B315F4D6C9tk5ex14mbxc105r_"
MIME-Version: 1.0
Subject: Re: [EAI] UTF-8 mailto escaping
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "EAI \(Email Address Internationalization\)" <ima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ima>
List-Post: <mailto:ima@ietf.org>
List-Help: <mailto:ima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jun 2009 19:35:09 -0000

I’m wondering if the escaping requirements of draft-ietf-eai-mailto-01.txt for mailto are the best approach?  I get that in some contexts non-ASCII isn’t permitted, but perhaps the escaping should be restricted to those cases?

In particular this document is more rigorous than the behavior currently supported in mailto: for idn. mailto:shawn@CyberCafé.example.com<mailto:shawn@CyberCafé.example.com%20works> currently works fine in

Requiring escaping impacts the usability (mailto:café@example.org is much simpler to type than mailto:%<mailto:%3Ccaf%C3%A9@example.org>3Ccaf%C3%A9@example.org, which pretty much nobody could type without some sort of conversion table or tool.)

In addition to IDN, many mailto: implementations seem to work with EAI style Unicode anyway is many cases right now.  My sample was small. IE recognizes <a href="mailto:café@example.org”> and Windows will also open an email client with that and cyrillic addresses (outlook in my case).  Granted I didn’t try other apps, but a quick test failed only when my SMTP server choked on Outlook’s non-ASCII address.

Whether or not Unicode is supported directly, section 2 isn’t particularly clear what SHOULD be done.  Some of the higher bullets say “can be used” and “have to” instead of SHOULD or MUST.

I’m mostly inferring that the “…, and the designation of fallback addresses” phrase in 1. refers to the RFC5335 alt-address since that’s mentioned in 2, however I’d like that to be a bit clearer.  (1 uses the term “fallback address”, and 2 uses the term “alt-address”.

1. Explicitly states that this document extends to allow non-ASCII characters and also fallback.  2.2 explicitly mentions non-ASCII, covering the 1st stated goal of the document, but nowhere is the 2nd stated goal addressed directly.  (fallback).  So perhaps there could be a bullet in this section that states:


3.       Fallback addresses may be designated using the alt-address of RFC5335, however the less-than and greater-than signs ("<" and ">") MUST be percent-encoded (%3C and %3E)

I’m curious why mailto: with non-ASCII requires the < and > ?


- Shawn

 
http://blogs.msdn.com/shawnste