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

fix: receive authorization header independent of lower or upper case #2707

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snowping
Copy link

According to RFC 7230 "Each header field consists of a case-insensitive field name followed by a colon (":"), optional leading whitespace, the field value, and optional trailing whitespace." HTTP Headers should be treated case insensitive.

The PHP function apache_request_headers() is case sensitive. Imho, we should patch the lib.php in order to set variable $authtoken independent of case sensitivity.

It fixes the issue #2688

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSO using Moodle Teams Tab Integration does not work
1 participant