From fa33bc9753ecd35b3e862d47f25654017a40f79d Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 28 Mar 2023 08:12:01 +0200 Subject: [PATCH] Fix QRCode - auth da fare escaped x visualizzatore --- GPW.CORE.SMART/Components/UserQrCode.razor.cs | 4 +++- GPW.CORE.SMART/GPW.CORE.SMART.csproj | 2 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 4 ++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/GPW.CORE.SMART/Components/UserQrCode.razor.cs b/GPW.CORE.SMART/Components/UserQrCode.razor.cs index 6e044a1..a145a13 100644 --- a/GPW.CORE.SMART/Components/UserQrCode.razor.cs +++ b/GPW.CORE.SMART/Components/UserQrCode.razor.cs @@ -20,7 +20,9 @@ namespace GPW.CORE.Smart.Components if (recordDip != null) { string baseUrl = ToggleData.isActive ? UrlLinkInt : UrlLinkExt; - string newCode = getUrlCode(baseUrl, recordDip.AuthKey); + //calcolo authKey valida x url --> escaped! + string authKeyFix = System.Web.HttpUtility.UrlEncode(recordDip.AuthKey); + string newCode = getUrlCode(baseUrl, authKeyFix); if (rawCode != newCode) { rawCode = newCode; diff --git a/GPW.CORE.SMART/GPW.CORE.SMART.csproj b/GPW.CORE.SMART/GPW.CORE.SMART.csproj index ff1264b..5fc12cf 100644 --- a/GPW.CORE.SMART/GPW.CORE.SMART.csproj +++ b/GPW.CORE.SMART/GPW.CORE.SMART.csproj @@ -3,7 +3,7 @@ net6.0 enable - 3.0.2303.0417 + 3.0.2303.2808 enable www.egalware.com GPW Smart UI diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 09213d1..846d745 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GPW - Gestione Presenze Web -

Versione: 3.0.2303.2710

+

Versione: 3.0.2303.2808


Note di rilascio: