switch HtmlEncode to UrlEncode

switch HtmlEncode to UrlEncode #941
This commit is contained in:
hama3254 2024-04-21 21:00:25 +02:00
parent 1887c6ad49
commit 9be37f3904
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -3099,7 +3099,7 @@ Public Class Main
#End Region
Dim Auth As String = " -H " + Chr(34) + "Authorization: " + CrBetaBasic + Chr(34)
'Dim Post As String = " -d " + Chr(34) + "grant_type=etp_rt_cookie" + Chr(34) + " -X POST"
Dim Post As String = " -d " + Chr(34) + "username=" + HtmlEncode(Mail) + "&password=" + HtmlEncode(PW) + "&grant_type=password&scope=offline_access" + Chr(34) + " -X POST -H " + Chr(34) + "Content-Type: application/x-www-form-urlencoded; charset=utf-8" + Chr(34)
Dim Post As String = " -d " + Chr(34) + "username=" + UrlEncode(Mail) + "&password=" + UrlEncode(PW) + "&grant_type=password&scope=offline_access" + Chr(34) + " -X POST -H " + Chr(34) + "Content-Type: application/x-www-form-urlencoded; charset=utf-8" + Chr(34)
'
Dim CRBetaBearer As String = "Bearer "

View File

@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("3.22.1")>
<Assembly: AssemblyFileVersion("3.22.1")>
<Assembly: AssemblyVersion("3.22.2")>
<Assembly: AssemblyFileVersion("3.22.2")>
<Assembly: NeutralResourcesLanguage("en")>