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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.2.20, 1.3.2
    • None
    • None
    • Kromeriz 135
    • 2

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD