mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4606] [CLOSED] [Fix] Authentication Errors #10184
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4606
Author: @BaronGreenback
Created: 11/28/2020
Status: ❌ Closed
Base:
master← Head:AuthFix📝 Commits (3)
dc1cec9Merge pull request #98 from jellyfin/master1c5c59cUpdate AuthorizationContext.csaae9ffdUpdate AuthorizationContext.cs📊 Changes
1 file changed (+13 additions, -6 deletions)
View changed files
📝
Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs(+13 -6)📄 Description
Replaced Header[] with Header.TryGetValue() as the former creates an exception if the header is not found.
This caused the authentication flow to stop if a header was not present.
eg.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.