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

Conversation

snowping
Copy link
Contributor

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

@weilai-irl weilai-irl linked an issue Nov 29, 2024 that may be closed by this pull request
@weilai-irl weilai-irl added this to the 2025-01 milestone Feb 12, 2025
@patmr7 patmr7 changed the base branch from master to MOODLE_405_STABLE February 14, 2025 12:07
@weilai-irl weilai-irl assigned patmr7 and weilai-irl and unassigned patmr7 Feb 14, 2025
@weilai-irl weilai-irl merged commit 83b616c into microsoft:MOODLE_405_STABLE Feb 26, 2025
1 check passed
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
3 participants