Fixed an issue with mixed-case headers not being matched correctly in CORS #2866
After the CORS rework, headers seem to be matched in a case-sensitive way.
... and the browser sends it (with a different case)...
... it won't match, thus causing the CORS preflight request to fail.
This fixes it.
The horrible blank lines are there to please the linter.
The text was updated successfully, but these errors were encountered: