Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 34590 invoked from network); 25 Sep 2008 12:49:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2008 12:49:37 -0000 Received: (qmail 34464 invoked by uid 500); 25 Sep 2008 12:49:24 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34451 invoked by uid 500); 25 Sep 2008 12:49:24 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 34440 invoked by uid 99); 25 Sep 2008 12:49:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2008 05:49:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2008 12:48:25 +0000 Received: by ug-out-1314.google.com with SMTP id j3so185162ugf.23 for ; Thu, 25 Sep 2008 05:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PkLaA16IkiRXmMH4XM86B3LPdN6KFNRfL1jlmugUpu0=; b=t7hPZPGVgIVoIkTr0xp+cZMqIQo6HcAW/LHXpTihiNOcM08a8WbK6HQn6ifUOkzwO5 MxJrs7gWFXXwEuq4LaNkv7pWo9gslYlhx7TGwoflYk588f0YFWq8Jb1p4GUXVH0en3Pd UngOnJFQUS2Lx9uczUm7jjTMmfYt1xnpAzkCE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=O/YM1Hkj0/bMcpxOuPrnGz/nGn4JJqHTr6/aOS1Vbf855AQF0Vev0jzCd7gdKx9CRp c8CCRaLNdhPavyUz6AdjCLFAeA/jE+E+KYQA0zqiCQ86ZYVQY1GVT8PBdpHLO8LwN+ro ycsXRPPzefvpTMWWDzuAkyFTHNcl+ybldNy4w= Received: by 10.66.240.18 with SMTP id n18mr1707372ugh.60.1222346927878; Thu, 25 Sep 2008 05:48:47 -0700 (PDT) Received: by 10.66.217.8 with HTTP; Thu, 25 Sep 2008 05:48:47 -0700 (PDT) Message-ID: <1404e5910809250548p35cde3cdhc49715ff16d35fe7@mail.gmail.com> Date: Thu, 25 Sep 2008 08:48:47 -0400 From: "Eric Covener" To: users@httpd.apache.org In-Reply-To: <48DB82C8.5030501@ice-sa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <48DA9821.8060701@ice-sa.com> <48DAAEC1.3090708@rowe-clan.net> <48DB3260.1040707@ice-sa.com> <48DB4F59.4000103@ice-sa.com> <1404e5910809250444j1ccb270by74e4b20e00fdf294@mail.gmail.com> <48DB82C8.5030501@ice-sa.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Differences between different Apaches in file requests On Thu, Sep 25, 2008 at 8:23 AM, Andr=E9 Warnier wrote: > In that respect, yes you should. The client should not have to know on > which platform the server is running, and send a fundamentally different = URL > depending. You don't have to know the platform. You have to know the filename byte-by-byte (typically by following a proper link). > I did the following experiment : on a Linux Debian Apache 2.2.4 server, I= copied the file "joaqu=EDn.gif" in the document root. I don't have too much experience here, but was the filename morphed into some other codeset during the copy (mount option, editor, etc)? > In any case, that the Windows incarnation of Apache 2.x would return a 40= 3 code (instead of the less inappropriate 404) is still another issue. > The URL requested is not illegal, nor is this document submitted to any k= ind of permission or authorization. IMO The 403 is returned in a path where errors imply a high likelyhood of someone actively trying to fool the server -- I don't think a 403 is too inappropriate here. I don't know if any other status code would be appealing enough to motivate trapping this error early (i.e. don't bother trying to map to a file if there's invalid utf-8 somewhere in the URL on windows). --=20 Eric Covener covener@gmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org