Re: managesieve: formats; :global; read-only; checkscript
Alexey Melnikov <alexey.melnikov@isode.com> Tue, 09 December 2008 18:33 UTC
Return-Path: <owner-ietf-mta-filters@mail.imc.org>
X-Original-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Delivered-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DD0603A6B4C for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue, 9 Dec 2008 10:33:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.54
X-Spam-Level:
X-Spam-Status: No, score=-2.54 tagged_above=-999 required=5 tests=[AWL=0.059, BAYES_00=-2.599]
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 id4P1KYsPvBV for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue, 9 Dec 2008 10:33:58 -0800 (PST)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id BB6FB3A6930 for <sieve-archive-Aet6aiqu@ietf.org>; Tue, 9 Dec 2008 10:33:57 -0800 (PST)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id mB9IGS2Y074836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Dec 2008 11:16:28 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id mB9IGSd7074835; Tue, 9 Dec 2008 11:16:28 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id mB9IGRHK074829 for <ietf-mta-filters@imc.org>; Tue, 9 Dec 2008 11:16:27 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.0.8] ((unknown) [62.3.217.253]) by rufus.isode.com (submission channel) via TCP with ESMTPA id <ST61-gBu7zUM@rufus.isode.com>; Tue, 9 Dec 2008 18:16:26 +0000
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <493EB5EB.2040208@isode.com>
Date: Tue, 09 Dec 2008 18:16:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Aaron Stone <aaron@serendipity.cx>
CC: Дилян Палаузов <Dilyan.Palauzov@aegee.org>, IETF Sieve WG <ietf-mta-filters@imc.org>
Subject: Re: managesieve: formats; :global; read-only; checkscript
References: <49271D09.90408@aegee.org> <492C63F2.9030509@isode.com> <4932D45C.2050203@isode.com> <1228509838.16036.21.camel@turtle>
In-Reply-To: <1228509838.16036.21.camel@turtle>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>
Aaron Stone wrote: >On Sun, 2008-11-30 at 17:58 +0000, Alexey Melnikov wrote: > > >>>>My suggestion is to let the user see the global scripts, when the >>>>authorization ID is the empty string. In terms of the Sieve URL >>>>Scheme, the global scripts could be accessible when owner = '\0'. I >>>>mean when >>>> sieveurl-script = "sieve://" [ authority ] "/" >>>> [owner "/"] scriptname >>>>has the form >>>> sieveurl-script = "sieve://" [ authority ] "//" scriptname >>>>then requested are the global scripts. >>>> >>>> >>>While I think having a standardized way of accessing global scripts >>>would be a good idea, I am not convinced that the empty string is >>>going to be Ok. >>>This might have some weird side effects on URI parsers (but I am not >>>sure). >>> >Some URI parsers will collapse repeated slashes, some won't. I've seen >weird behavior before when slashes were duplicated in HTTP requests and >a non-collapsing URI parser was in place. Is there a "correct" >normative behavior for this? > I think handling of repeated slashes in URIs is URI-scheme specific. (The behavior you describe is quite sensible for HTTP, because filesystems convert "//" to "/".) The only rule is that if a URI scheme allows for relative path URIs, they can't start with unencoded "//", as this would be indistinguishable from URI's "authority" component (username + host + port). In "sieve:" URIs I've prohibited relative path form, so that shouldn't be an issue. >Aaron > >>I've updated the draft to include your proposal. It looks like "owner" >>can be empty, as long as "authority" is not. >> >>
- managesieve: formats; :global; read-only; checksc… Дилян Палаузов
- Re: managesieve: formats; :global; read-only; che… Alexey Melnikov
- Re: managesieve: formats; :global; read-only; che… Alexey Melnikov
- Re: managesieve: formats; :global; read-only; che… Alexey Melnikov
- sieveurl-list-scripts += [owner "/"] Дилян Палаузов