Received: (qmail 3062 invoked by uid 501); 17 Aug 2000 07:01:27 -0000 Message-Id: <20000817070127.3061.qmail@locus.apache.org> Date: 17 Aug 2000 07:01:27 -0000 From: Walter Hop Reply-To: walter@skydancer.org To: submit@bugz.apache.org Subject: Incorrectly appended "/" to filename of existing document X-Send-Pr-Version: 3.110 >Number: 6421 >Category: mod_speling >Synopsis: Incorrectly appended "/" to filename of existing document >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Aug 17 00:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: walter@skydancer.org >Release: 1.3.12 >Organization: apache >Environment: Apache/1.3.12, everything static, on Linux 2.0.38 >Description: When requesting a nonexistent "directory/" with Available documents, mod_speling incorrectly appends a slash ("/") to the common basename of a file in the 'Available documents' list. Clicking this link on the 'Available documents' list gives a 404. >How-To-Repeat: Put a document named old.html in the webroot. Then request http://yoursite/old/ (including the trailing slash), on which mod_speling generates a 300 Multiple Choices with "/old.html/" (common basename) including a "/" (slash) at the end of the filename, which is incorrect - old.html is a doc and not a directory. Clicking the link gives a 404. >Fix: Sorry, I can complain only :) Good luck. >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]