Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9289

Resources served from /display/* are not sent with correct cache headers

XMLWordPrintable

      Resources served from the /display/ URL path are not sent with headers to prevent caching.

      It would seem from the ConfluenceEncodingFilter that resources in this path are meant to be served as non-cacheable resources however the predicate has been written incorrectly:
      uri.indexOf("/display/") > 0 instead of uri.indexOf("/display/") >= 0

      This will fail when confluence is deployed in the root context path.

            christopher.owen@atlassian.com Christopher Owen [Atlassian]
            christopher.owen@atlassian.com Christopher Owen [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: