httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16349] New: - When ommit the suffix of file name, the file will be shown.
Date Thu, 23 Jan 2003 04:10:42 GMT
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


Mime
View raw message