Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-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 A488B1066D for ; Mon, 27 Jan 2014 21:30:38 +0000 (UTC) Received: (qmail 65255 invoked by uid 500); 27 Jan 2014 21:30:35 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 65187 invoked by uid 500); 27 Jan 2014 21:30:35 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 65179 invoked by uid 99); 27 Jan 2014 21:30:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 21:30:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.59.136.139] (HELO smtp-out-02.shaw.ca) (64.59.136.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 21:30:30 +0000 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=tLeJwtg1FCvAouMblIYY1Z5/U6XdMrtw4y2B9g+QINc= c=1 sm=1 a=jtrbvu-LlFsA:10 a=mQKJPVrTQLQA:10 a=2pqqzDx6IZcA:10 a=BLceEmwcHowA:10 a=8nJEP1OIZ-IA:10 a=DdNXKqgKDBkllHFzNm1XjA==:17 a=dpat16WSW48vxUNE1HAA:9 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO [192.168.1.110]) ([96.54.209.90]) by smtp-out-02.shaw.ca with ESMTP; 27 Jan 2014 14:30:08 -0700 Message-ID: <52E6CFB9.4080701@pearsoncmg.com> Date: Mon, 27 Jan 2014 13:29:29 -0800 From: Chris Darroch Organization: Pearson CMG/PLT User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: svn commit: r1561447 - in /httpd/httpd/trunk: CHANGES modules/mappers/mod_dir.c References: <20140126040946.4C21C23889E0@eris.apache.org> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Eric: > Is the DirectorySlash side of things ever useful for these methods? You're thinking that maybe the return DECLINED statement could move up to the top of fixup_dir()? I've pondered that myself, but I think that's a much bigger change than just restoring the 2.2.x behaviour which should resolve this PR issue. For one thing, mod_dav is only one module -- other third-party modules may expect the 2.2 behaviour here as well. So I'd hesitate to make a more substantial change. As for mod_dav, the spec says, "If clients do not use the trailing slash form the client needs to be prepared to see a redirect response." It also notes that the server MAY choose to operate on a collection URL lacking a trailing slash, and if so, it SHOULD return with a Content-Location header. So far as I know, mod_dav isn't ready to do this -- it likely operates OK on collection URLs lacking a trailing slash, but I don't think it returns the Content-Location header. That's not required, but it would be nice to have before we made this kind of change. Practically speaking, since mod_dir and DirectorySlash are enabled in the default httpd configuration, I suspect most mod_dav deployments will have DirectorySlash enabled, and therefore most DAV clients will be able to operate with the existing 2.2 redirection behaviour. (And some may even flail if they don't see the redirection, although that's technically their problem.) So for the moment, I'd be inclined to just restore the 2.2 behaviour and close the PR. I've got a stack of other mod_dav fixups should try to push into trunk ... I'll try to steal some time to chip away at the pile. No rash promises, though. :-/ Thanks for taking a look at this; cheers, Chris. -- GPG Key ID: 088335A9 GPG Key Fingerprint: 86CD 3297 7493 75BC F820 6715 F54F E648 0883 35A9