Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7452

The content type filter looks up MIME types for .magnolia, .rest, etc.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Reproduction steps:

      1. configure the contentType filter to serve registeredExtensionsOnly
      2. look up localhost:8080/.magnolia
      3. notice the 'Cannot find MIME type for extension "magnolia"' message in the logs

      Then Magnolia returns 400 errors for endpoints that shouldn't be matched to a MIME type at all.
      i.e. request is denied before even reaching the URI security filter / login screen (regardless of eventual 404 or actual content).

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              mmichel Maxime Michel
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD