Uploaded image for project: 'Magnolia Multisite Module'
  1. Magnolia Multisite Module
  2. MULTISITE-84

Slash is incorrectly appended to resources if webapp is located under ROOT

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.20, 1.3.2
    • Labels:
      None
    • Sprint:
      Kromeriz 135
    • Story Points:
      2
    • Magnolia Release:
      5.5.10, 5.6.3

      Description

      info.magnolia.multisite.MultiSiteResourceLinker incorrectly prepends "/" to resources url if webapp is located under ROOT.

      it creates
      Protocol-Relative //.resources/travel-demo-theme/css/travels-magnolia~2018-02-16-15-49-04-000~cache.css
      but url should be
      Root-Relative /.resources/travel-demo-theme/css/travels-magnolia~2018-02-16-15-49-04-000~cache.css

      This means that setups using MultiSite and are deployed under ROOT will have broken links to static resources like javascripts and css.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsimak Jaroslav Simak
                Reporter:
                jsimak Jaroslav Simak
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: