Re: [apps-discuss] Fwd: I-D Action: draft-yevstifeyev-ftp-uri-scheme-04.txt

Mykyta Yevstifeyev <evnikita2@gmail.com> Fri, 15 July 2011 03:43 UTC

Return-Path: <evnikita2@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D11321F8753 for <apps-discuss@ietfa.amsl.com>; Thu, 14 Jul 2011 20:43:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.496
X-Spam-Level:
X-Spam-Status: No, score=-3.496 tagged_above=-999 required=5 tests=[AWL=0.103, BAYES_00=-2.599, 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 8PlAlm-MImFB for <apps-discuss@ietfa.amsl.com>; Thu, 14 Jul 2011 20:43:48 -0700 (PDT)
Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by ietfa.amsl.com (Postfix) with ESMTP id CD91321F873D for <apps-discuss@ietf.org>; Thu, 14 Jul 2011 20:43:47 -0700 (PDT)
Received: by fxe4 with SMTP id 4so2452519fxe.27 for <apps-discuss@ietf.org>; Thu, 14 Jul 2011 20:43:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7iAXBzho2zNk6NoL6JbQc8XL/5pwVJUlCNDGVlj2YnU=; b=mNsjSAae9xvIcVIknAv6/PkZWsFRThtURD4XOHhRZhK+fg5VlSA/EC+A+7M5oc4NRo 44XMG+PrVzl0Ns0INi2KNPzTJgWT/MIw6vbGpFv6fS3AWqa/GfZ2Q1ZUtV9yvtq2bBKH PnuX5Q8f1S57vfT4Zt4nGT8B7LAsUUZXNwcNQ=
Received: by 10.223.57.5 with SMTP id a5mr4649652fah.90.1310701426992; Thu, 14 Jul 2011 20:43:46 -0700 (PDT)
Received: from [127.0.0.1] ([195.191.104.224]) by mx.google.com with ESMTPS id q14sm504534faa.20.2011.07.14.20.43.45 (version=SSLv3 cipher=OTHER); Thu, 14 Jul 2011 20:43:46 -0700 (PDT)
Message-ID: <4E1FB79D.1020603@gmail.com>
Date: Fri, 15 Jul 2011 06:44:29 +0300
From: Mykyta Yevstifeyev <evnikita2@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
References: <4E15C895.6020701@gmail.com> <4E1B3270.40601@gmail.com> <CAHhFybpG-eoLb0uQ-JR9k7r1-NUohihXWS+w4Vsznpx=zYbGYA@mail.gmail.com> <4E1E62AB.2070608@gmail.com> <CAHhFyboH+EfdBzNTZtr9T9VNmUh6=psx2uBsS7Pc-HYmdWL65g@mail.gmail.com>
In-Reply-To: <CAHhFyboH+EfdBzNTZtr9T9VNmUh6=psx2uBsS7Pc-HYmdWL65g@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Apps-discuss list <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] Fwd: I-D Action: draft-yevstifeyev-ftp-uri-scheme-04.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2011 03:43:48 -0000

15.07.2011 2:44, Frank Ellermann wrote:
> On 14 July 2011 05:29, Mykyta Yevstifeyev wrote:
>
>> "@" is in<gen-delims>, so we can safely assume that it won't
>> apper anywhere else except the authority non-percent-encoded.
> Quoting RFC 3986 section 3.3, page 23:
>
>   segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
>                     ; non-zero-length segment without any colon ":"
>
>   pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
>
>
> That allows an unencoded '@' in the<path>, not the '@' you are
> interested in while trying to skip any<userinfo>@.
>
>   query         = *( pchar / "/" / "?" )
>
> Ditto, unencoded '@' in the<query>  (section 3.4, page 24).
>
>    fragment     = *( pchar / "/" / "?" )
>
> Ditto, unencoded '@' in the<fragment>  (section 3.5, page 24).
I see what you mean.  I'll correct the expression as you proposed.  
However, I actually don't understand why "@" is either in <gen-delims>, 
which is in <reserved> and doesn't allow it to be present in queries and 
fragments, and in <pchar>, which is OK with this?
> [ . . . ]
> See above wrt<path>,<query>, and<fragment>.  I recall that
> it took me more than a year to grok the fine print in STD 66.
Mykyta Yevstifeyev
>
> -Frank
>