Skip to content

Commit

Permalink
Allow schemeless clone URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
willibrandon committed Sep 6, 2024
1 parent e260332 commit 7a8ea3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ private void ValidateUriAndChangeUiIfBad(string url, out Uri uri)
uri = null;

// If the url isn't valid don't bother finding a provider.
if (!Uri.IsWellFormedUriString(url, UriKind.Absolute) ||
if (!Uri.IsWellFormedUriString(url, UriKind.RelativeOrAbsolute) ||
!Uri.TryCreate(url, UriKind.RelativeOrAbsolute, out uri))
{
UrlParsingError = _stringResource.GetLocalized(StringResourceKey.UrlValidationBadUrl);
Expand Down

0 comments on commit 7a8ea3e

Please sign in to comment.