diff options
| author | theguymadmax <171496228+theguymadmax@users.noreply.github.com> | 2026-01-10 06:11:27 -0500 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2026-01-10 06:11:27 -0500 |
| commit | cf9051c27773ffa764a785fddd045b001f5861ad (patch) | |
| tree | 4a61f6de4fb8ad6ba49cef07c52699e85243cffb | |
| parent | d270957c8254a24d8c073ad9d1d9316e950538ed (diff) | |
Backport pull request #15961 from jellyfin/release-10.11.z
Fix crash when plugin repository has an invalid URL
Original-merge: 317a3a47c374fc4cb58f4c7a537b33fabb4c764f
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Bond_009 <bond.009@outlook.com>
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index 5ff400160..5f9e29b56 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -156,6 +156,11 @@ namespace Emby.Server.Implementations.Updates _logger.LogError(ex, "The URL configured for the plugin repository manifest URL is not valid: {Manifest}", manifest); return Array.Empty<PackageInfo>(); } + catch (NotSupportedException ex) + { + _logger.LogError(ex, "The URL scheme configured for the plugin repository is not supported: {Manifest}", manifest); + return Array.Empty<PackageInfo>(); + } catch (HttpRequestException ex) { _logger.LogError(ex, "An error occurred while accessing the plugin manifest: {Manifest}", manifest); |
