From users-return-118326-archive-asf-public=cust-asf.ponee.io@httpd.apache.org Wed Jan 9 13:39:27 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0DA38180669 for ; Wed, 9 Jan 2019 13:39:26 +0100 (CET) Received: (qmail 64855 invoked by uid 500); 9 Jan 2019 12:39:25 -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 64845 invoked by uid 99); 9 Jan 2019 12:39:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2019 12:39:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1BAE41809E0 for ; Wed, 9 Jan 2019 12:39:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.701 X-Spam-Level: X-Spam-Status: No, score=-0.701 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id IJKcVw5-Uszm for ; Wed, 9 Jan 2019 12:39:23 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E97EC5F1C7 for ; Wed, 9 Jan 2019 12:39:22 +0000 (UTC) Received: from [192.168.6.96] ([85.13.159.249]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LyB6P-1hJDHt1oHN-015dFH for ; Wed, 09 Jan 2019 13:39:16 +0100 To: users@httpd.apache.org References: From: Hajo Locke Message-ID: Date: Wed, 9 Jan 2019 13:39:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Provags-ID: V03:K1:cC1DpiXBLd8Rnh1lVDRZ0jV3ayiD9jAHYMyaw6XINNvyAQLXOW6 VSXm0o+lLFDLl39qIH1NAE+jxed/qh/vriVbUNliBY9pfky5QNVl1mfxewEOFJ9HxtAbd3f 76bVtd83JxbfiE5q+z4bK8hpY/C71sR/ZTRvQvWhWI/VrYjVItniuQDJaEDI+tbGefsPUXr 8xDa4t8yOLksRRQ/5iQZw== X-UI-Out-Filterresults: notjunk:1;V03:K0:zNAxykQYVcs=:Ta3mGYZPpkDbfFGrmKdDk0 N2NgZZkK/nDzk+mp9HleAYKiEJ4XYHvBfamkZz4VJyQE1/dAnWqS6c6hqxT14eCQPG1sw5qMA 1qASjViY4hNEBp4WzOxBWxlgg9LYY07jcmHb4IEL4piJuCP7DeykZi6Cbo1w6WW8JdVVHtMCl b29hv8pT6zfVQzYwZM1bZ6hF2XKzlwZzSt9xyOlk/uGpIWMdS38MsGMaHIvfbr1CFUZ7AEzGi iwhTmAapWYyOADqi8Hvt8/okIj4sYkS71ALAJPQsCuxESwTm3dyUJEFsZ+GYtZmGywAw+SuPK fRtdgtMzZ8nJXSK4Ry2iWH+JKYOo9J/V2oTKg24xSGjEfvKGiOKAUFcfEYMuQkgAL68Tcphnf deQO/ighCfVvEetlKqse/HVQ5GUQsNX2gz9ncAAUBdb4VAu4qqX3W1SS3qswsPJ6ufRCcuk/E 74w+N1OZeCeumHAwSyVeOncaLdNWKeVmIFLwIYKJj3at81uawUo7XL0sSI/PH8pFI7E3yx5GF hzvso3fY9EehqvU0S4bs8c7SBE7H0u1tD7rVaqJcMiIlm98AO4zKA5Kf0Kn2vCmHk/CuSGqnK M6RxQi3kZH5JjXWHRZabGKYO6uGb/XNSSH2JhikaBVBnybZtqD9dHtcVHu/fL2ZeaJwvyfnrT ouVBVSFabCYEfNEjYKk0BfiDEzdNALu1K6Z1gJttGr6uLTo827REfru2NasdLTMWWUOLbaGJq t5x4YAGoCl+vn6XeWcLji1/Uf9ijZ3P8uw2wjZlotrVeqyZurS5XqQLSP3ZTYBwAZFf5iC0Bi 5ypWy4Md8OLCHxQWOdS/+eQ/xsreeLZbLm0HVGQA0C5RYHDPow3z43cv/AulosQeyGNInmL0T +5ewiJxHAiCqL70tBkNzYox3vKkuEW6ByHjyDtpiiJBJX3L0EkRsy10x4cLRFc Subject: Re: [users@httpd] ErrorDocument with URL containing URL encoded chars Hello, Am 09.01.2019 um 09:48 schrieb Hajo Locke: > Hello List, > > have a interesting problem here. > I have a .htaccess with Errordocument containing Text to be displayed: > > ErrorDocument 404 "not existing" > > This works with standard URLs like http://example.com/fubar.htm > I get response 404 and in Browser displayed text is correct. > > Now i try URLs like this: http://example.com/%2ffubar > The URL encoded part of URL seems to be a problem for errordocument. I > still get the 404 respone, but displayed text has changed. > In place of "not existing" apache answers with "The requested URL > //fubar was not found on this server." > So apache is decoding $2f to / and use decoded URL for response-text > in place of "not existing" > > i get a change of behaviour if i put the ErrorDocument directive > direct into Vhost instead of .htaccess. > in this case the ErrorDocument is working as expected also with URLs > with url encoded Parts. > > In Apache 2.2 and 2.4  is same behaviour. > What is problem here and how to solve this? we solved it with directive AllowEncodedSlashes > > Thanks, > Hajo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > Thanks, Hajo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org