You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/01/23 05:10:42 UTC

DO NOT REPLY [Bug 16349] New: - When ommit the suffix of file name, the file will be shown.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16349>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16349

When ommit the suffix of file name, the file will be shown.

           Summary: When ommit the suffix of file name, the file will be
                    shown.
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other mods
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: masaru@turbolinux.co.jp


For example, there is a file located at http://localhost/masaru.html , If the
server is apache-1.3.27 with mod_negotiation, we can see it with the URL
http://localhost/masaru .

I found this problem is not exist in httpd_2.0.44. And I tried to backport a bit
of modify from httpd_2.0.44, it was success. Please apply following patch and
verify.

Regards.

--- src/modules/standard/mod_negotiation.c.orig 2002-03-14 06:05:34.000000000 +0900
+++ src/modules/standard/mod_negotiation.c      2003-01-23 12:54:59.000000000 +0900
@@ -994,7 +994,6 @@
 #else
                 if (strcmp(segstart, *cur_except) == 0) {
 #endif
-                    --nexcept;
                     ++cur_except;
                 }

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org