Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-279

CheckCaseOnly On does not stop Multiple Choices based on common basename

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JWS 3.0.3 DR2
    • None
    • httpd
    • None

      When we call http://127.0.0.1/abc/3.2/js/abc-3.2-47E.js
      and the related is not present, even with different case, we should have a HTTP 404.
      But what we have today is a HTTP 300 with the following proposal:

      Multiple Choices

      The document name you requested (/abc/3.2/js/abc-3.2-47E.js) could not be found on this server. However, we found documents with names similar to the one you requested.
      Available documents:

      /abc/3.2/js/abc-3.2-42.js (common basename)
      /abc/3.2/js/abc-3.2-57D.js (common basename)
      /abc/3.2/js/abc-3.2-25A.js (common basename)
      /abc/3.2/js/abc-3.2-68E.js (common basename)
      /abc/3.2/js/abc-3.2-79A.js (common basename)
      /abc/3.2/js/abc-3.2-81A.js (common basename)
      /abc/3.2/js/abc-3.2-52.js (common basename)
      /abc/3.2/js/abc-3.2-25B.js (common basename)

      The following bug [1] states the Directive CheckBasenameMatch to use.
      [1]https://bz.apache.org/bugzilla/show_bug.cgi?id=44221

      After looking into the jboss-ews-2.1.0 Apache httpd source code it looks by default WANT_BASENAME_MATCH is hard coded and is not configurable. There isn't any "CheckBasenameMatch" directive available.

              rhn-engineering-mturk Mladen Turk
              rmarwaha@redhat.com Richa Marwaha
              Bogdan Sikora Bogdan Sikora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: