Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Conversation

ymaerschalck
Copy link

When using double subdomains like 'www.testing.ourcompany.com', the SERVER_NAME will return 'testing.ourcompany.com', while the HTTP_HOST returns the entire host. This url is used to create an oauth signature and this signature will differ. It's better to always use the entire url here.

Izumi-kun added a commit to Izumi-kun/LTI-Tool-Provider-Library-PHP that referenced this pull request Jun 1, 2018
Fixed $http_url to respect Host header instead SERVER_NAME (1EdTech#46).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant