aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index f2a78247..9ad1a626 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -765,7 +765,7 @@ namespace slskd
[Argument(default, "incomplete")]
[EnvironmentVariable("INCOMPLETE_DIR")]
[Description("path where incomplete downloads are saved")]
- [AbsolutePath]
+ [AbsolutePath(platformAgnostic: true)]
[NonTraversingPath]
[DirectoryExists(ensureWriteable: true)]
[RequiresRestart]
@@ -777,7 +777,7 @@ namespace slskd
[Argument('o', "downloads")]
[EnvironmentVariable("DOWNLOADS_DIR")]
[Description("path where downloaded files are saved")]
- [AbsolutePath]
+ [AbsolutePath(platformAgnostic: true)]
[NonTraversingPath]
[DirectoryExists(ensureWriteable: true)]
[RequiresRestart]
@@ -1072,7 +1072,7 @@ namespace slskd
/// <summary>
/// Gets the destination subdirectory for the files in the batch.
/// </summary>
- [RelativePath]
+ [RelativePath(platformAgnostic: true)]
[NonTraversingPath]
[String(AllowNull = true, AllowEmpty = false, AllowWhiteSpace = false, MinimumLength = 1)]
public string Subdirectory { get; init; } = "{SOURCE_DIRECTORY}";
@@ -2046,7 +2046,7 @@ namespace slskd
[Argument(default, "http-socket")]
[EnvironmentVariable("HTTP_SOCKET")]
[Description("HTTP listen unix domain socket (UDS) path for web UI")]
- [AbsolutePath]
+ [AbsolutePath(platformAgnostic: false)]
[NonTraversingPath]
[RequiresRestart]
public string Socket { get; init; }