Check for path overlaps (#12832)

This commit is contained in:
JPVenson
2025-04-26 18:30:25 +03:00
committed by GitHub
parent df5671263f
commit 8ee358de2c
8 changed files with 71 additions and 5 deletions

View File

@@ -77,6 +77,7 @@ namespace Jellyfin.Server
{
_startTimestamp = Stopwatch.GetTimestamp();
ServerApplicationPaths appPaths = StartupHelpers.CreateApplicationPaths(options);
appPaths.MakeSanityCheckOrThrow();
// $JELLYFIN_LOG_DIR needs to be set for the logger configuration manager
Environment.SetEnvironmentVariable("JELLYFIN_LOG_DIR", appPaths.LogDirectoryPath);