From b0bb30188b3054e5b67b1d103da71708a801fec3 Mon Sep 17 00:00:00 2001 From: Claudia Murialdo Date: Mon, 16 Aug 2021 18:06:10 -0300 Subject: [PATCH] DecryptParm is used to URLs encoded with UriEncrypt64 so it must pass true for safeEncoding parameter. --- dotnet/src/dotnetframework/GxClasses/Core/GXUtilsCommon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/dotnetframework/GxClasses/Core/GXUtilsCommon.cs b/dotnet/src/dotnetframework/GxClasses/Core/GXUtilsCommon.cs index 061d6e520..b0ff594e0 100644 --- a/dotnet/src/dotnetframework/GxClasses/Core/GXUtilsCommon.cs +++ b/dotnet/src/dotnetframework/GxClasses/Core/GXUtilsCommon.cs @@ -3970,7 +3970,7 @@ public static string DecryptParm(object parm, string gxkey) string value = parm.ToString(); if (!String.IsNullOrEmpty(gxkey)) { - string strValue = Crypto.Decrypt64(value.ToString(), gxkey); + string strValue = Crypto.Decrypt64(value.ToString(), gxkey, true); if ((String.CompareOrdinal(StringUtil.Right(strValue, 6).TrimEnd(' '), Crypto.CheckSum(StringUtil.Left(strValue, (short)(StringUtil.Len(strValue) - 6)), 6).TrimEnd(' ')) == 0)) {