Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4520

farFutureCaching and Resource files with dot in name cannot be found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.3
    • Fix Version/s: 4.5.17
    • Component/s: cache
    • Labels:
    • Release notes required:
      Yes
    • Magnolia Release:
      4.5.17

      Description

      As a result of the thread in
      http://forum.magnolia-cms.com/forum/thread.html?threadId=6eadb707-e2ee-4fc8-98c2-b931cd85b84b&page=1
      this issue:

      When filenames in the resource directory contain dots, and the farFuturecaching is set to true, the files cannot be found.
      (for example jquery-1.7.1.js, core.module.js or jsscript.min.js)

      The regular expression in /modules/cache/virtualURIMapping/tildeCacheRessources/fromURI

      (\.*)\.(\d{4}-(?:\d{2}-){5}\d{3})\.cache\.(css|js)

      doesn't seem to handle occurences of dots in the filename itself.

      (not all dots get replaced by a tilde?)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rsiska Robert Šiška
              Reporter:
              twinkel Stef te Winkel
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: