Re: [webfinger] feedback for multiple "rel"

Melvin Carvalho <melvincarvalho@gmail.com> Sat, 22 December 2012 16:39 UTC

Return-Path: <melvincarvalho@gmail.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 3A6D821F8ABA for <webfinger@ietfa.amsl.com>; Sat, 22 Dec 2012 08:39:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.517
X-Spam-Level:
X-Spam-Status: No, score=-3.517 tagged_above=-999 required=5 tests=[AWL=0.081, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 82tUNycmQjxL for <webfinger@ietfa.amsl.com>; Sat, 22 Dec 2012 08:39:42 -0800 (PST)
Received: from mail-ia0-f179.google.com (mail-ia0-f179.google.com [209.85.210.179]) by ietfa.amsl.com (Postfix) with ESMTP id 74EB821F8A8A for <webfinger@ietf.org>; Sat, 22 Dec 2012 08:39:42 -0800 (PST)
Received: by mail-ia0-f179.google.com with SMTP id o25so4939880iad.10 for <webfinger@ietf.org>; Sat, 22 Dec 2012 08:39:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gbHTneHwmw9+DcKq4TX2pisJIsQS23wRp7Yhb6HR0wg=; b=TOmKmlDwF4+0WWJ8uEl4EgV63bn0HsiMXs9Pe90kzhwfhNKgb3zF3ZMGJnzzYSKTYT oh5PikBqiUQzwXtb/pme/srExlVDqjZ3ZDG/NOIgFERylIkSF6xcw5xq/JOTvMxSTqBV qCu0QS1Thw1/8a145OqJaX8cKMFeR6bA1z8wmG8sHcN0lOeNcxVAcxatTYhlcxPjGTXj 4BtejEnyzJqIOMOs2eADfi1bUiU4HaOwlJCHB1Se0vlRISJfOi1YaZNguJnhVK5860jR qDO4hcG4xJ48MFfsnuGadNU5dMgOpg/noJR0GCaJpwNwp8pCXMKlQmyuaxn/iSksqCuO QD7A==
MIME-Version: 1.0
Received: by 10.50.40.138 with SMTP id x10mr16408413igk.41.1356194381973; Sat, 22 Dec 2012 08:39:41 -0800 (PST)
Received: by 10.42.61.203 with HTTP; Sat, 22 Dec 2012 08:39:41 -0800 (PST)
In-Reply-To: <7E9916BF-8D64-4F61-A40F-3A74533AEFD2@gmail.com>
References: <58036BAD-2161-4420-A724-343883F627B7@gmail.com> <CAKaEYhKGP0aMxsStNxTfYy3D=TbrnwtCVNz3yF3Su0TVkBXrOQ@mail.gmail.com> <7E9916BF-8D64-4F61-A40F-3A74533AEFD2@gmail.com>
Date: Sat, 22 Dec 2012 17:39:41 +0100
Message-ID: <CAKaEYh+T24Zv4DeLve2GY6ASz0yx3oUWr0RZoXyCrMvEj3n1yQ@mail.gmail.com>
From: Melvin Carvalho <melvincarvalho@gmail.com>
To: nov matake <matake@gmail.com>
Content-Type: multipart/alternative; boundary="14dae9340901624a2e04d1739c86"
Cc: "webfinger@ietf.org" <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: Sat, 22 Dec 2012 16:39:43 -0000

On 22 December 2012 17:12, nov matake <matake@gmail.com> wrote:

> BTW, why double encoding lead "problems with things like canonical urls
> and search engines"?
> Can you provide more details?
>

Not easily, no.  You could perhaps ignore that comment.

However I've had situations where I've had to escape delimiters to create a
URL in the past.  It leads to the question of whether the escaped character
should be part of the canonical url.  Maybe it was just me, but I found it
a bit fiddly...


>
> 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
>>
>
>
>