Received: (qmail 25481 invoked by uid 2012); 13 Mar 1998 22:05:53 -0000 Message-Id: <19980313220553.25480.qmail@hyperreal.org> Date: 13 Mar 1998 22:05:53 -0000 From: Jon Backstrom Reply-To: viking@iowa.net To: apbugs@hyperreal.org Subject: RefererIgnore Directive (NCSA compatible) needs case check... X-Send-Pr-Version: 3.2 >Number: 1947 >Category: mod_log-any >Synopsis: RefererIgnore Directive (NCSA compatible) needs case check... >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Fri Mar 13 14:10:01 PST 1998 >Last-Modified: Tue May 19 21:23:14 PDT 1998 >Originator: viking@iowa.net >Organization: >Release: 1.2.4 >Environment: Linux 2.0.30 - 6x86L-PC - Apache 1.2.4 >Description: This is something I would like to see added...we use the RefererLog and RefererIgnore quite a bit to filter our logs and I noticed that there is no case insensitive way to check the URL in RefererIgnore. Any variation of upper/lower case letters in the URL get's logged as an outside request. If I get this implemented, can I be a contributor? :-) >How-To-Repeat: Set up RefererLog and RefererIgnore directives and then call the web URL with variations in upper/lower case letters. Only the exact match is filtered out. >Fix: Perhaps a "tolower()" type of function for everything in front of the first file path in the URL%3 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: brian State-Changed-When: Tue May 19 21:23:13 PDT 1998 State-Changed-Why: A fix for this has been implemented in the 1.3 code base; we're planning a 1.3b7 release soon. Since all our focus is on 1.3 and this isn't a protocol error it's unlikely this will be backported to 1.2.x, but it might. Thanks for the report. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]