cakephp / app

CakePHP application template
366 stars 390 forks source link

Add switch to enable usage of `X-Forwarded-Proto`. #889

Closed ndm2 closed 2 years ago

ndm2 commented 2 years ago

I've seen this problem come up quite a few times on SO and Slack, usually from people using cloud services like AWS or Azure.

And while I'd rather hardcode the protocol, or even the complete full base URL, this might not always be applicable, or people might simply be unaware of the source or the problem.

refs cakephp/cakephp#16393