Skip to content

Commit

Permalink
Merge branch 'StringValidationFix' into 'master'
Browse files Browse the repository at this point in the history
String validation fix

See merge request ADAS-Private/HEAppE/heappe-core!97
  • Loading branch information
janecekkrenek committed Aug 31, 2023
2 parents e1682a9 + 59d79ef commit b573779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utils/Validation/AbstractValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected AbstractValidator(object validationObj)
/// <returns></returns>
protected static bool ContainsIllegalCharacters(string text)
{
return Regex.IsMatch(text, @"[^a-zA-Z0-9\-]+", RegexOptions.Compiled);
return Regex.IsMatch(text, @"[^a-zA-Z0-9_\-\ \.]+", RegexOptions.Compiled);
}

/// <summary>
Expand Down

0 comments on commit b573779

Please sign in to comment.