diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-17 15:39:59 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-17 15:39:59 -0500 |
| commit | f4500909ce50e54bba4e3dc83c6c88aef31fb0b8 (patch) | |
| tree | 5bf888a73194c3f28c75bd4ed9359edb59f3651c /src/slskd | |
| parent | 08f4afda39774ab4872a6699b50ca80589938caa (diff) | |
| download | slskd-f4500909ce50e54bba4e3dc83c6c88aef31fb0b8.tar.gz | |
remove prohibiton on slashes in instance names
Diffstat (limited to 'src/slskd')
| -rw-r--r-- | src/slskd/Core/Options.cs | 2 |
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; } |
