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

Filenames with special characters produce 403

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.1 Final
    • core
    • None
    • all

    Description

      Example: If the filename specified in the samples download paragraph contains special characters (e.g. german umlaute), then magnolia returns a 403 http status code. Even if the requested filename is URL encoded.

      In AccessManagerImpl.getPermissions(String) the requested URL is matched against the ACL. The internal ACL patterns do not support special characters, hence a AccessDeniedException is thrown.

      A temporary solution would be to change the ACL patterns in SimpleUrlPattern to ".*", since the dialog values do not get validated anyway.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              kraft Boris Kraft
              aemi Michael Aemisegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - 0.75d
                    0.75d
                    Remaining:
                    Remaining Estimate - 0.75d
                    0.75d
                    Logged:
                    Time Spent - Not Specified
                    Not Specified