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

farFutureCaching and Resource files with dot in name cannot be found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.17
    • 4.5.3
    • cache
    • Yes

    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?)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD