Skip to content

Commit

Permalink
Don't get file name when webapp has external provider
Browse files Browse the repository at this point in the history
Issue:105265

(cherry picked from commit dd4f2a8)
  • Loading branch information
tomas-sexenian committed Oct 17, 2023
1 parent 803e420 commit 0cde42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/src/dotnetframework/GxClasses/Core/GXUtilsCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6070,7 +6070,7 @@ public static string Save(Image bitmap, string imageFile, ImageFormat format)
ms.Position = 0;
try
{
if (imageFile.StartsWith("http://") || imageFile.StartsWith("https://"))
if ((imageFile.StartsWith("http://") || imageFile.StartsWith("https://")) && ServiceFactory.GetExternalProvider() == null)
{
Uri uri = new Uri(imageFile);
imageFile = Path.GetFileName(uri.AbsolutePath);
Expand Down

0 comments on commit 0cde42c

Please sign in to comment.