aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ServerApplicationPaths.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2025-04-26 18:30:25 +0300
committerGitHub <noreply@github.com>2025-04-26 09:30:25 -0600
commit8ee358de2ca956d22c14f28c3783ba99acd87a32 (patch)
tree8127a03e3ef0b7b2a19a51781ec809ba2ce66216 /Emby.Server.Implementations/ServerApplicationPaths.cs
parentdf5671263fc8370ae17b7a5d53f06a86de5cbc93 (diff)
Check for path overlaps (#12832)
Diffstat (limited to 'Emby.Server.Implementations/ServerApplicationPaths.cs')
-rw-r--r--Emby.Server.Implementations/ServerApplicationPaths.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ServerApplicationPaths.cs b/Emby.Server.Implementations/ServerApplicationPaths.cs
index 725df98da..f049e6647 100644
--- a/Emby.Server.Implementations/ServerApplicationPaths.cs
+++ b/Emby.Server.Implementations/ServerApplicationPaths.cs
@@ -96,5 +96,12 @@ namespace Emby.Server.Implementations
/// <inheritdoc />
public string VirtualInternalMetadataPath => "%MetadataPath%";
+
+ /// <inheritdoc/>
+ public override void MakeSanityCheckOrThrow()
+ {
+ base.MakeSanityCheckOrThrow();
+ CreateAndCheckMarker(RootFolderPath, "root");
+ }
}
}