Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Ensure checks for HTTPS scheme are case insensitive #318

Conversation

weierophinney
Copy link
Member

  • Checks for either HTTPS or https in the $server array.
  • Does a case-insensitive check against the value discovered to see if it is equivalent to "off".
  • Does a case-insenstivie check against the value of the X-Forwarded-Proto header to see if it is equivalent to "https".

Fixes #317

- Checks for either `HTTPS` or `https` in the `$server` array.
- Does a case-insensitive check against the value discovered to see if
  it is equivalent to "off".
- Does a case-insenstivie check against the value of the
  `X-Forwarded-Proto` header to see if it is equivalent to "https".
@weierophinney weierophinney merged commit b11dfa9 into zendframework:master Jul 19, 2018
weierophinney added a commit that referenced this pull request Jul 19, 2018
weierophinney added a commit that referenced this pull request Jul 19, 2018
@weierophinney weierophinney deleted the hotfix/317-https-scheme-detection branch July 19, 2018 18:36
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.

None yet

1 participant