Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12820

Once a webfile is cached, it can be accessed over any 'anti-cache' value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: site-toolkit
    • Labels:
      None
    • Similar issues:

      Description

      Although most likely not that much impact otherwise than confusing, the WebFileValve currently serves a webfile possibly over incorrect anti-cache values.

      For example if I try to fetch

      http://localhost:8080/site/webfiles/14815XXX18537/css/bootstrap.css
      

      it returns a 404, but if I first fetch

      http://localhost:8080/site/webfiles/1481518537/css/bootstrap.css
      

      where '1481518537' is the correct anti-cache value, then after that call,

      http://localhost:8080/site/webfiles/14815XXX18537/css/bootstrap.css
      

      does return the bootstrap.css. That is because the cachekey does not contain the version any more since HSTTWO-3682. When we fix this, we must make sure that supporting fetching webfiles over a URL without anti-cache value keeps working!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: