We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b688c commit 2c9c36dCopy full SHA for 2c9c36d
src/ViewModels/CreateTag.cs
@@ -12,7 +12,7 @@ public object BasedOn
12
}
13
14
[Required(ErrorMessage = "Tag name is required!")]
15
- [RegularExpression(@"^[\w\-\.]+$", ErrorMessage = "Bad tag name format!")]
+ [RegularExpression(@"^[^/]{1}[\w\-\./]*$", ErrorMessage = "Bad tag name format!")]
16
[CustomValidation(typeof(CreateTag), nameof(ValidateTagName))]
17
public string TagName
18
{
0 commit comments