Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force URL to start with HTTPS if APP_URL starts with https:// #2508

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

williamjallen
Copy link
Collaborator

#2458 removed a line which was believed to have no effect. After deploying a recent version of CDash to a production system based on Kubernetes, it was discovered that Laravel automatically changes the protocol to http:// if the incoming request is a HTTP request, even if the APP_URL starts with https://. This PR addresses the issue by forcing Laravel to respect the protocol specified by the APP_URL environment variable.

@williamjallen williamjallen added this pull request to the merge queue Oct 17, 2024
Merged via the queue into Kitware:master with commit c3734da Oct 17, 2024
6 checks passed
@williamjallen williamjallen deleted the k8s-protocol-bugfix branch October 17, 2024 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants