Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5286F662 for ; Mon, 25 Mar 2013 11:11:09 +0000 (UTC) Received: (qmail 7797 invoked by uid 500); 25 Mar 2013 11:11:05 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 6289 invoked by uid 500); 25 Mar 2013 11:10:56 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 6244 invoked by uid 99); 25 Mar 2013 11:10:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 11:10:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jhs@iriscouch.com designates 209.85.215.50 as permitted sender) Received: from [209.85.215.50] (HELO mail-la0-f50.google.com) (209.85.215.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 11:10:49 +0000 Received: by mail-la0-f50.google.com with SMTP id ec20so10854865lab.23 for ; Mon, 25 Mar 2013 04:10:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=0wC7/bpmvJ3yXiVDkKZFCMU7ehtvCkYR6F6PTt9ibM8=; b=i0/JGHaV4klqpKpjXIVETHL4EQTs6H65zqipI8/S4wl7v5reQcQNSMEPzu1Gt+/VyT cL8KK1AMhBL0JmRGvDNqF5b8MIOctu6EWkssr3csia0qKP1IqJig+whbf4hwFH/M71Ii 3C7KgnuopOQHoj3L6ZqF96CSpJwIuKUy7sU9Go6rVv729cNKHifxtzRqyhK8LtA+CfJG tmzPrBH8ZHlLabWJ2hlu+Fgh5HWVhxmNpP4ob+Y46FIzQ0Cy/FKzZChvtItoP2h+NaUh kB9Djnk82Fh4PVoBnqQyRrAx5Zj7FL0FwRLMN9abyvxK5gNoEQSqzV4yDh9xM8/8hQCt cTTg== X-Received: by 10.112.44.66 with SMTP id c2mr5828147lbm.69.1364209828062; Mon, 25 Mar 2013 04:10:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.22.169 with HTTP; Mon, 25 Mar 2013 04:09:57 -0700 (PDT) In-Reply-To: References: <20120914020833.5D30C367D2@tyr.zones.apache.org> <6B5AFC02-B012-4834-8DA9-D4396425010C@apache.org> From: Jason Smith Date: Mon, 25 Mar 2013 11:09:57 +0000 Message-ID: Subject: Re: git commit: Disable checking for string query_params values To: CouchDB Developers Content-Type: multipart/alternative; boundary=bcaec554de86337ae604d8bddabe X-Gm-Message-State: ALoCoQmaES9nNt2NqKHCVH0iEN7vsHfGvptwB9xriRQLqpDq1UZ00PlmG6kupQLT049ZuPc6xY7A X-Virus-Checked: Checked by ClamAV on apache.org --bcaec554de86337ae604d8bddabe Content-Type: text/plain; charset=UTF-8 Oh wow, sorry, all, I missed this. The commit addresses COUCHDB-1534. However that issue is not yet closed due to missing unit tests. And Paul wants to remove the function entirely (which is fine by me). The comment about iris-monitor was for me, when I diff our branch against ASF, I would recall the reason for the change. But it is spurious. I believe I cherry-picked a commit and forgot about the comment. On Sat, Mar 23, 2013 at 8:02 PM, Noah Slater wrote: > Was this a mistaken commit? Was it resolved? > > > On 10 October 2012 21:06, Jan Lehnardt wrote: > > > Jason, > > > > did you mean to commit this to Apache? > > > > Cheers > > Jan > > -- > > > > > > On Sep 14, 2012, at 04:08 , jhs@apache.org wrote: > > > > > Updated Branches: > > > refs/heads/COUCHDB-1534 [created] 835b57b19 > > > > > > > > > Disable checking for string query_params values > > > > > > > > > Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo > > > Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/835b57b1 > > > Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/835b57b1 > > > Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/835b57b1 > > > > > > Branch: refs/heads/COUCHDB-1534 > > > Commit: 835b57b196d423ae5132a559e727031521da8ce9 > > > Parents: 53490d9 > > > Author: Jason Smith (work) > > > Authored: Tue Sep 4 06:35:52 2012 +0000 > > > Committer: Jason Smith (air) > > > Committed: Fri Sep 14 09:02:04 2012 +0700 > > > > > > ---------------------------------------------------------------------- > > > src/couchdb/couch_httpd_replicator.erl | 6 ++++-- > > > 1 files changed, 4 insertions(+), 2 deletions(-) > > > ---------------------------------------------------------------------- > > > > > > > > > > > > http://git-wip-us.apache.org/repos/asf/couchdb/blob/835b57b1/src/couchdb/couch_httpd_replicator.erl > > > ---------------------------------------------------------------------- > > > diff --git a/src/couchdb/couch_httpd_replicator.erl > > b/src/couchdb/couch_httpd_replicator.erl > > > index fb1e350..47de476 100644 > > > --- a/src/couchdb/couch_httpd_replicator.erl > > > +++ b/src/couchdb/couch_httpd_replicator.erl > > > @@ -58,8 +58,10 @@ validate_rep_props([]) -> > > > validate_rep_props([{<<"query_params">>, {Params}}|Rest]) -> > > > lists:foreach(fun > > > ({_,V}) when is_binary(V) -> ok; > > > - ({K,_}) -> throw({bad_request, > > > - <>}) > > > + % Disabled to support the iris-monitor replicator > > > + %({K,_}) -> throw({bad_request, > > > + % <>}) > > > + ({K,_}) -> ok > > > end, Params), > > > validate_rep_props(Rest); > > > validate_rep_props([_|Rest]) -> > > > > > > > > > > -- > NS > -- Iris Couch --bcaec554de86337ae604d8bddabe--