PictureUtils.cs:192 uses Uri.IsWellFormedUriString() to check if url's are well formatted, but the method contains a known bug, and is not reccomended for this usecase (https://github.com/dotnet/runtime/issues/72632).
The suggested workaround in the issue above is:
static bool IsValidHttpUri(string uriString, out Uri uri) =>
Uri.TryCreate(uriString, UriKind.Absolute, out uri) &&
(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps);
Uri.IsWellFormedUriString() uses Uri.TryCreate() internally so this will not add any new workload
PictureUtils.cs:192 uses Uri.IsWellFormedUriString() to check if url's are well formatted, but the method contains a known bug, and is not reccomended for this usecase (https://github.com/dotnet/runtime/issues/72632).
The suggested workaround in the issue above is:
Uri.IsWellFormedUriString() uses Uri.TryCreate() internally so this will not add any new workload