Skip to content

Commit aaf5fdb

Browse files
authored
Merge 53b400c into 8965bbe
2 parents 8965bbe + 53b400c commit aaf5fdb

File tree

1 file changed

+1
-2
lines changed
  • src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure/Validators

1 file changed

+1
-2
lines changed

src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure/Validators/UriValidator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
// Copyright (c) 2022 @Olivier Lefebvre
33
using FluentValidation;
44
using FluentValidation.Validators;
5-
using System.Diagnostics.CodeAnalysis;
65
using System.Text.RegularExpressions;
76

87
namespace Aguacongas.TheIdServer.BlazorApp.Validators
98
{
109
public partial class UriValidator<T> : PropertyValidator<T, string>
1110
{
12-
[GeneratedRegex("^(http|https)://.+")]
11+
[GeneratedRegex("^.+://.+")]
1312
private static partial Regex _urlRegex();
1413

1514
public override string Name => $"UriValidatorOf{typeof(T).Name}";

0 commit comments

Comments
 (0)