diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-16 18:52:44 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-16 18:52:44 -0500 |
| commit | 772df82d0faf98f00fc8cc2ee59051e386eaa998 (patch) | |
| tree | 185943cf3aaa4aeef9230edf58f184039368ed5b | |
| parent | 147aad8cca088734587c144434044a02d9ec7a96 (diff) | |
| download | slskd-772df82d0faf98f00fc8cc2ee59051e386eaa998.tar.gz | |
remove disallowed character validation from instancename
| -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 51b3cab1..21f2c75f 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; } |
