Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16392

Browser cache is not invalidated for attachment retrieved in another nested space

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Solved By
    • Affects Version/s: 11.3-rc-1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      XWIKI-15450 was supposed to fix cache issue for all attachment but it appears that I make a mistake when retrieving document from another nested space.
      Steps to reproduce:

      • Create a space Foo and a nested space Bar
      • Attach a picture in Foo.Bar.WebHome
      • Display this picture in a document outside Foo.Bar space.

      Expected result:

      • The produced URL is protected against cache issue

      Obtained result:

      • the produce URL is a standard download one, that we got before XWIKI-15450.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: