We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8965bbe commit 53b400cCopy full SHA for 53b400c
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure/Validators/UriValidator.cs
@@ -2,14 +2,13 @@
2
// Copyright (c) 2022 @Olivier Lefebvre
3
using FluentValidation;
4
using FluentValidation.Validators;
5
-using System.Diagnostics.CodeAnalysis;
6
using System.Text.RegularExpressions;
7
8
namespace Aguacongas.TheIdServer.BlazorApp.Validators
9
{
10
public partial class UriValidator<T> : PropertyValidator<T, string>
11
12
- [GeneratedRegex("^(http|https)://.+")]
+ [GeneratedRegex("^.+://.+")]
13
private static partial Regex _urlRegex();
14
15
public override string Name => $"UriValidatorOf{typeof(T).Name}";
0 commit comments