Skip to content

Commit

Permalink
Use ordinal ignore case
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad committed Oct 4, 2024
1 parent cd5b6ab commit c31e6c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public ContentValueDtoValidator(DialogTransmissionContentType contentType)

When(x =>
x.MediaType is not null
&& x.MediaType.StartsWith(MediaTypes.EmbeddablePrefix, StringComparison.InvariantCultureIgnoreCase),
&& x.MediaType.StartsWith(MediaTypes.EmbeddablePrefix, StringComparison.OrdinalIgnoreCase),
() =>
{
RuleForEach(x => x.Value)
Expand Down

0 comments on commit c31e6c2

Please sign in to comment.