Re: [webfinger] feedback for multiple "rel"

"Paul E. Jones" <paulej@packetizer.com> Sun, 23 December 2012 00:00 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 01F3221F894C for <webfinger@ietfa.amsl.com>; Sat, 22 Dec 2012 16:00:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level:
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.049, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gxHStMenxzeo for <webfinger@ietfa.amsl.com>; Sat, 22 Dec 2012 16:00:17 -0800 (PST)
Received: from dublin.packetizer.com (dublin.packetizer.com [75.101.130.125]) by ietfa.amsl.com (Postfix) with ESMTP id 0FA3421F856C for <webfinger@ietf.org>; Sat, 22 Dec 2012 16:00:16 -0800 (PST)
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 qBN00Egn021546 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 22 Dec 2012 19:00:15 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=packetizer.com; s=dublin; t=1356220815; bh=GL7IH9nQxu73Pow3lCD1FYgeFhCs8//PfhKNUwWY6ec=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=U910+U/+nc8Ro6L7va/bHlHBF8/dR/XjcZY6s1bRC4fE6XrC4Wy3VMhh4PbG4J9jh RUfNag/9Bwt/rgMQpMhUa703Ph+oCE+Lkh3dOjx8fvtbJ62Ek+GHw0dlaXMbIpFO8z ubXZYNE0bwAHq8/9K7w89P0CMRovu+NObvYFD6R4=
From: "Paul E. Jones" <paulej@packetizer.com>
To: 'nov matake' <matake@gmail.com>, 'Melvin Carvalho' <melvincarvalho@gmail.com>
References: <58036BAD-2161-4420-A724-343883F627B7@gmail.com> <CAKaEYhKGP0aMxsStNxTfYy3D=TbrnwtCVNz3yF3Su0TVkBXrOQ@mail.gmail.com> <7E9916BF-8D64-4F61-A40F-3A74533AEFD2@gmail.com>
In-Reply-To: <7E9916BF-8D64-4F61-A40F-3A74533AEFD2@gmail.com>
Date: Sat, 22 Dec 2012 19:00:20 -0500
Message-ID: <001101cde0a0$7fda6220$7f8f2660$@packetizer.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01CDE076.97045A20"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHn/3n6mr+8L0+iRGJmLFJlw0GLowJLSGqcAkS0TYOXzMH2YA==
Content-Language: en-us
Cc: webfinger@ietf.org
Subject: Re: [webfinger] feedback for multiple "rel"
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: Sun, 23 Dec 2012 00:00:19 -0000

If we made it a requirement that "rel" values have no spaces (which I would
argue is a damn good thing for many reasons) then we would not have to
double-encode.

 

Paul

 

From: webfinger-bounces@ietf.org [mailto:webfinger-bounces@ietf.org] On
Behalf Of nov matake
Sent: Saturday, December 22, 2012 11:12 AM
To: Melvin Carvalho
Cc: webfinger@ietf.org
Subject: Re: [webfinger] feedback for multiple "rel"

 

BTW, why double encoding lead "problems with things like canonical urls and
search engines"?

Can you provide more details?

 

If 2 rel included, the response would be different than when only 1 rel
given.

So I feel those 2 are not the same, and can be indexed as 2 resources..

 

On 2012/12/23, at 0:44, Melvin Carvalho <melvincarvalho@gmail.com> wrote:





 

On 22 December 2012 05:48, nov matake <matake@gmail.com> wrote:

Hi,

I have a comment for they way to specify multiple "rel" values.

As a ruby library developer, my main target is rails developers.
Since rails can't handle multiple same query keys, developers will need to
hack query params parser in rails middleware layer.
I can easily imagine it'll be an annoying part to support webfinger in
rails.

Is the multiple "rel" case can be a space-delimitered (or some other
character) strings like multiple redirect_uri in OAuth2?
Or any reason for putting multiple same keys in query parameters?


each time you delimit a list, you have to be able to escape the delimiter,
which can be a pain and also leads to problems with things like canonical
urls and search engines

can you use mod_rewrite?
 


Cheers,

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