Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-77392

Available languages module URL does not include CDN host

Details

    Description

      Several static resources are not served by CDN due to their access URL does not include the CDN host. 

      Reproduction steps:

      1. Set a different host for 127.0.0.1 in /etc/hosts (cdn.local for example).
      2. In instance settings, add http://cdn.local:8080 and https://cdn.local:8080 as CDN properties.
      3. Load home page and open the browser developers tool. Check data shown in "Sources" tab. 

      Attached image as example of step 3. The red section shows the resources which are not served by the CDN (see for example available_languages.jsp file):

      Attachments

        Issue Links

          Activity

            People

              brian.chan Brian Chan
              cristina.rodriguez Cristina Rodriguez
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 35 weeks, 5 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP55
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.0 M2
                  7.1.X
                  Master