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

CDN Usage does not render the correct URL content

    Details

      Description

      Description

      When implementing cdn.host.https and cdn.host.http properties, the correct URL content is not displayed.

      Steps to Reproduce

      1. Setup tomcat with SSL
      2. Set these 2 properties:
      cdn.host.https=https://HTTPS.CDN
      cdn.host.http=http://HTTP.CDN
      3. Startup portal
      4. Clear browser cache
      5. Get main.css in HTTP with this URL:
      http://localhost:8080/html/portlet/login/css/main.css?browserId=other&themeId=classic&minifierType=css&languageId=en_US&b=6120&t=5256
      6. Get the same main.css in HTTPS:
      https://localhost:8443/html/portlet/login/css/main.css?browserId=other&themeId=classic&minifierType=css&languageId=en_US&b=6120&t=5256
      Result:
      Both URLs have the same content.
      Expected Result:
      The URL for the facebook_login_button image should use the cdn.host.https value when hitting the site in https and cdn.host.http when hitting the site in http.

        Attachments

        1. localhost8080.png
          localhost8080.png
          48 kB
        2. localhost80801.png
          localhost80801.png
          26 kB
        3. localhost8443.png
          localhost8443.png
          26 kB
        4. localhost84431.png
          localhost84431.png
          26 kB
        5. SSL-Connection.png
          SSL-Connection.png
          34 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 4 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE RC6