aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-05-17 15:39:59 -0500
committerJP Dillingham <jp@dillingham.me>2026-05-17 15:39:59 -0500
commitf4500909ce50e54bba4e3dc83c6c88aef31fb0b8 (patch)
tree5bf888a73194c3f28c75bd4ed9359edb59f3651c /src
parent08f4afda39774ab4872a6699b50ca80589938caa (diff)
downloadslskd-f4500909ce50e54bba4e3dc83c6c88aef31fb0b8.tar.gz
remove prohibiton on slashes in instance names
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index a50e3f70..3d9c8fb2 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -198,7 +198,6 @@ namespace slskd
[Argument('i', "instance-name")]
[EnvironmentVariable("INSTANCE_NAME")]
[Description("optional; a unique name for this instance")]
- [DisallowedCharacters('/', '\\')]
[RequiresRestart]
public string InstanceName { get; init; } = "default";
@@ -655,7 +654,6 @@ namespace slskd
[Description("the name for this agent")]
[StringLength(255, MinimumLength = 1)]
[NotNullOrWhiteSpace]
- [DisallowedCharacters('/', '\\')]
[Secret]
public string InstanceName { get; init; }