Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6106

Content Disposition Filter: allow wildcards in "sling.content.disposition.excluded.paths"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We just updated from AEM 6.1 SP1 to SP2 and observed a change in the "Apache Sling Content Disposition Filter". The default behavior switch to adding the header "Content-Disposition:attachment". For getting the prior behavior it seems, we need to uncheck the checkbox "sling.content.disposition.all.paths" or to add all paths explicitly named to the list "sling.content.disposition.excluded.paths".

      Because we have several files, which should not be delivered with this disposition header it would be very helpful to have the possibility to use wildcards in the excluded paths, e.g. something like "/content/website/(.*)"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              muenkti Timo Münkenwarf
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: