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

      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.

          Form Name

            [CONFSERVER-9289] Resources served from /display/* are not sent with correct cache headers

            Fixed up affects and fix versions

            Christopher Owen [Atlassian] added a comment - Fixed up affects and fix versions

              christopher.owen@atlassian.com Christopher Owen [Atlassian]
              christopher.owen@atlassian.com Christopher Owen [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: