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

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            maria.picado Maria Picado
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Maria Picado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              19 weeks, 3 days ago

                Packages

                Version Package
                7.2.10 DXP FP11
                7.2.10.3 DXP SP4
                7.2.X
                7.3.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                Master