Skip to content

Commit 00fde60

Browse files
DecryptParm is used to URLs encoded with UriEncrypt64 so it must pass true for safeEncoding parameter. (#420)
(cherry picked from commit 1f73072)
1 parent db88fff commit 00fde60

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
@@ -3970,7 +3970,7 @@ public static string DecryptParm(object parm, string gxkey)
39703970
string value = parm.ToString();
39713971
if (!String.IsNullOrEmpty(gxkey))
39723972
{
3973-
string strValue = Crypto.Decrypt64(value.ToString(), gxkey);
3973+
string strValue = Crypto.Decrypt64(value.ToString(), gxkey, true);
39743974
if ((String.CompareOrdinal(StringUtil.Right(strValue, 6).TrimEnd(' '),
39753975
Crypto.CheckSum(StringUtil.Left(strValue, (short)(StringUtil.Len(strValue) - 6)), 6).TrimEnd(' ')) == 0))
39763976
{

0 commit comments

Comments
 (0)