mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #5602] [MERGED] Don't convert from IPAddress to string to IPAddress #10568
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/5602
Author: @daullmer
Created: 3/23/2021
Status: ✅ Merged
Merged: 4/3/2021
Merged by: @Bond-009
Base:
master← Head:IP-string-IP📝 Commits (2)
19e4ef8Remove conversion from IPAddress to string to IPAddressc2af50cAdd tests for IsInNetwork📊 Changes
9 files changed (+92 additions, -42 deletions)
View changed files
📝
Emby.Server.Implementations/HttpServer/Security/SessionContext.cs(+1 -1)📝
Jellyfin.Api/Controllers/UserController.cs(+18 -7)📝
Jellyfin.Api/Helpers/DynamicHlsHelper.cs(+1 -1)📝
Jellyfin.Api/Helpers/MediaInfoHelper.cs(+3 -2)📝
Jellyfin.Api/Helpers/RequestHelpers.cs(+1 -1)📝
MediaBrowser.Common/Extensions/HttpContextExtensions.cs(+2 -2)📝
tests/Jellyfin.Api.Tests/Auth/LocalAccessPolicy/LocalAccessHandlerTests.cs(+2 -1)➕
tests/Jellyfin.Networking.Tests/NetworkManagerTests.cs(+63 -0)📝
tests/Jellyfin.Networking.Tests/NetworkParseTests.cs(+1 -27)📄 Description
Changes
Issues
Code from #5180
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.