mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
Check for path overlaps (#12832)
This commit is contained in:
@@ -35,8 +35,7 @@ namespace MediaBrowser.Common.Configuration
|
||||
transcodingTempPath = Path.Combine(configurationManager.CommonApplicationPaths.CachePath, "transcodes");
|
||||
}
|
||||
|
||||
// Make sure the directory exists
|
||||
Directory.CreateDirectory(transcodingTempPath);
|
||||
configurationManager.CommonApplicationPaths.CreateAndCheckMarker(transcodingTempPath, "transcode", true);
|
||||
return transcodingTempPath;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user