From e455bd6d12f820f2e005d57037fffcad7ab4b990 Mon Sep 17 00:00:00 2001 From: BeeFox-sys <42090331+BeeFox-sys@users.noreply.github.com> Date: Wed, 26 Feb 2020 02:33:49 +1100 Subject: [PATCH] Fix import validation issue (#156) --- PluralKit.Core/Services/DataFileService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Services/DataFileService.cs b/PluralKit.Core/Services/DataFileService.cs index fa86323a..3a0f6c50 100644 --- a/PluralKit.Core/Services/DataFileService.cs +++ b/PluralKit.Core/Services/DataFileService.cs @@ -269,7 +269,7 @@ namespace PluralKit.Core !DisplayName.IsLongerThan(Limits.MaxMemberNameLength) && !Description.IsLongerThan(Limits.MaxDescriptionLength) && !Pronouns.IsLongerThan(Limits.MaxPronounsLength) && - (Color == null || Regex.IsMatch(Color, "[0-9a-f]{6}")) && + (Color == null || Regex.IsMatch(Color, "[0-9a-fA-F]{6}")) && (Birthday == null || DateTimeFormats.DateExportFormat.Parse(Birthday).Success) && // Sanity checks