Skip to content

Commit 9781b79

Browse files
Don't get file name when webapp has external provider (#883)
Issue:105265
1 parent 61715a3 commit 9781b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Core/GXUtilsCommon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6073,7 +6073,7 @@ public static string Save(Image bitmap, string imageFile, ImageFormat format)
60736073
ms.Position = 0;
60746074
try
60756075
{
6076-
if (imageFile.StartsWith("http://") || imageFile.StartsWith("https://"))
6076+
if ((imageFile.StartsWith("http://") || imageFile.StartsWith("https://")) && ServiceFactory.GetExternalProvider() == null)
60776077
{
60786078
Uri uri = new Uri(imageFile);
60796079
imageFile = Path.GetFileName(uri.AbsolutePath);

0 commit comments

Comments
 (0)