Re: [webfinger] Webfinger and URI vs IRI

"Paul E. Jones" <paulej@packetizer.com> Mon, 22 July 2013 21:27 UTC

Return-Path: <paulej@packetizer.com>
X-Original-To: webfinger@ietfa.amsl.com
Delivered-To: webfinger@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A528A11E814F for <webfinger@ietfa.amsl.com>; Mon, 22 Jul 2013 14:27:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.373
X-Spam-Level:
X-Spam-Status: No, score=-1.373 tagged_above=-999 required=5 tests=[AWL=-1.225, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_CHARSET_FARAWAY=2.45]
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 S+mTPhzJeKg6 for <webfinger@ietfa.amsl.com>; Mon, 22 Jul 2013 14:27:48 -0700 (PDT)
Received: from dublin.packetizer.com (dublin.packetizer.com [75.101.130.125]) by ietfa.amsl.com (Postfix) with ESMTP id 8015F11E813B for <webfinger@ietf.org>; Mon, 22 Jul 2013 14:27:44 -0700 (PDT)
Received: from sydney (rrcs-98-101-148-48.midsouth.biz.rr.com [98.101.148.48]) (authenticated bits=0) by dublin.packetizer.com (8.14.5/8.14.5) with ESMTP id r6MLRexf018055 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 22 Jul 2013 17:27:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=packetizer.com; s=dublin; t=1374528460; bh=AyulUL4kMxt7Uoiab56SE58ikgEnv487472wA2+Yupg=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=Xv4G7fAFA8DK5q63amdmQ3nMiel7pL4xsTiUkjHz8a13Ct5pEqBgPQD5sjZzF2Z4T yeOBlEHaUHVzv8H0adtJNPw0QQlfsEzQLMK1tTzCUWWNK4FGf1h3c6iPHUYbgBcsos DPJe2Spu4YFocB7nVuJInnTyZ5/jqF14ZfszpDnA=
From: "Paul E. Jones" <paulej@packetizer.com>
To: 'Barry Leiba' <barryleiba@computer.org>
References: <028301ce869f$596c12a0$0c4437e0$@packetizer.com> <CAC4RtVCvfzy8m2Tx8fsjoCgstPkf-B5PAkAXumDLqKqhh6ETnA@mail.gmail.com>
In-Reply-To: <CAC4RtVCvfzy8m2Tx8fsjoCgstPkf-B5PAkAXumDLqKqhh6ETnA@mail.gmail.com>
Date: Mon, 22 Jul 2013 17:27:43 -0400
Message-ID: <042f01ce8722$4d98a410$e8c9ec30$@packetizer.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0430_01CE8700.C68863A0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJrRQzHVjOxguTsrCrvNh3eaj/JigGXXVV3mCrxRGA=
Content-Language: en-us
Cc: webfinger@ietf.org, "'Martin J. Dürst'" <duerst@it.aoyama.ac.jp>
Subject: Re: [webfinger] Webfinger and URI vs IRI
X-BeenThere: webfinger@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussion of the Webfinger protocol proposal in the Applications Area <webfinger.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webfinger>, <mailto:webfinger-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/webfinger>
List-Post: <mailto:webfinger@ietf.org>
List-Help: <mailto:webfinger-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webfinger>, <mailto:webfinger-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jul 2013 21:27:53 -0000

Barry,

 

The reason I raise this is that RFC 5988 refers to the target IRI (the
¡°href¡± in WebFinger link relation) and context IRI (the ¡°subject¡± and
¡°aliases¡± in WebFinger).  Only ASCII is used in some protocols, so the
IRIs must be formatted as URIs.

 

However, JRD is JSON and, therefore, Unicode.  Thus, we could easily
accommodate links like this:

 

  {

    "rel" : "test2",

    "href" : "http://example.org/˽¤Î Îĕø.txt"

}

 

As opposed this form:

 

  {

    "rel" : "test2",

    "href" :
"http://example.org/%E7%A7%81%E3%81%AE%20%E6%96%87%E6%9B%B8.txt"

}

 

I have no strong preference, but the text did have IRI mentioned in one
place in the JRD spec section, but it was not consistent through the
document.  Everywhere else, we specified URI.

 

So, if IRIs are truly only for presentation, then the latter example above
should be what WF servers return.  The query target is always a
percent-encoded URI, so it¡¯s a non-issue.

 

Paul

 

From: barryleiba.mailing.lists@gmail.com
[mailto:barryleiba.mailing.lists@gmail.com] On Behalf Of Barry Leiba
Sent: Monday, July 22, 2013 4:30 PM
To: Paul E. Jones
Cc: Martin J. D¨¹rst; webfinger@ietf.org
Subject: Re: [webfinger] Webfinger and URI vs IRI

 

I believe WF should only use URIs.  I believe that IRIs are a presentation
layer thing.

Barry

On Jul 22, 2013 1:50 AM, "Paul E. Jones" <paulej@packetizer.com> wrote:

Folks,

The term URI is used almost exclusively in the WebFinger spec, with IRI
appearing only twice (outside of the reference).  This is because URI is
used in RFC 6415 almost exclusively.  However, RFC 5988 uses the term IRI in
most of the text.  That said, RFC 5988 also says things like the "target IRI
as a URI-Reference" ...

I feel like we have a terminology problem and it's not quite clear to me how
to fix it.  Should we change every instance of URI to IRI?  Should URI be
used in most places, with IRI discussed specifically somewhere?  Or is there
even a need to mention IRI given that IRIs can be converted to URIs?

I would really like to get this right, but it definitely does not look right
now with only one normative use of IRI in section 4.4.4.  Who can help me
with this?

Paul


_______________________________________________
webfinger mailing list
webfinger@ietf.org
https://www.ietf.org/mailman/listinfo/webfinger