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

CDN Host is ignoring "X-Forwared-Proto" header

Details

    Description

      Now you always get the cdn host from the cdn.host.http property because the web.server.forwarded.protocol.enabled property is ignored and thus the "X-Forwared-Proto" header too.

      However when the web.server.forwarded.protocol.enabled property is true, the protocol should be obtained from the "X-Forwared-Proto" header and with this information, return the cdn host of the specyfic property: cdn.host.http or cdn.host.https.

       

      You can see here that this check is not enough.

      Attachments

        1. 1.png
          1.png
          77 kB
        2. 2.png
          2.png
          381 kB
        3. fail.png
          fail.png
          141 kB

        Activity

          People

            melody.wu Melody Wu
            maria.picado Maria Picado
            Kiyoshi Lee Kiyoshi Lee
            Maria Picado Maria Picado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 21 weeks, 3 days ago

              Packages

                Version Package
                7.2.10 DXP FP11
                7.2.10.4 DXP SP4
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                7.4.2 CE GA3 DXP 7,4
                7.4.13 DXP GA1
                Master