Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 25763 invoked from network); 9 Apr 2011 06:42:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2011 06:42:22 -0000 Received: (qmail 1335 invoked by uid 500); 9 Apr 2011 06:42:21 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 1301 invoked by uid 500); 9 Apr 2011 06:42:19 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Delivered-To: moderator for user@couchdb.apache.org Received: (qmail 11773 invoked by uid 99); 4 Apr 2011 14:19:30 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_FROM,FS_REPLICA,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stuart.wakefield@gmail.com designates 209.85.214.180 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:from:date:message-id :subject:to:content-type; bh=N/MGuaTMgaAG1N7yoO8PZpDresMNNv+32l7C8/1O1d8=; b=i/sxqrbu8yywfaRacSKReLBElnXufqqa07cr2QS6pu1Luc3BG7yfAgdbrwTW7MMBKA dQqY5EvRN0UhDPm7y37GHeehWfmM/dVvqBU0GKjM0gYISFNNe0XCyUdlX84q/wfNPpkO DcYFe+QP+6JkZnZn+mzU03AOJbwDPRSFUDZuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; b=XWDXVGlrBTAWS1uEbMgF7ceS67nXCuNNKab6nrA1W7iwCejZYFV13iaMcFy8gA4rhH g251b4G+qTcKEpn9lDPL0fqqWd7Kp5jwNBK9/2mjU3okMR+v8S5oyvr1qufXNy0fXHQ9 t3fWA75xXDSUl2wtIEgnSMy205Y3qxaDrE9y0= MIME-Version: 1.0 Reply-To: stuart.wakefield@imperial.ac.uk From: Stuart Wakefield Date: Mon, 4 Apr 2011 15:18:43 +0100 Message-ID: Subject: Encoded slash (%2F) in replication To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi I have the same issue as was described in: http://mail-archives.apache.org/mod_mbox/couchdb-user/201003.mbox/%3C35959D90-96BB-4CA3-9014-282ED5C69CDD@compasspointtech.net%3E Namely, I have couchdb behind an apache frontend. I need to be able to replicate between that and another instance. When the client starts replication it does a GET on a uri to couch (and hence apache) like: /dbname/_local%2Feb987f86f515044e9b8dc9c1b8bfd054 I don't have access to the apache configuration and it is configured to return its default 404 response to any request which includes an encoded slash (*). And as the default response is an html page couch tries to decode this and promptly raises a decode error. If i replace the "%2F" with a plain "/" then the command works. >From a previous reply(**) i see advice to change apache configuration so it allows urls of this form, however i am unable to do this as apache isn't under my control. Is this the use of an encoded slash a deliberate decision or is there a plan to replace it with a plain one in a later version? (*) http://httpd.apache.org/docs/current/mod/core.html#allowencodedslashes (**) http://mail-archives.apache.org/mod_mbox/couchdb-user/201003.mbox/%3C055BFBA4-4298-4CCD-A52D-F4F86BA54BC7@apache.org%3E Thanks in advance Cheers Stuart