mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Add extra parameters to prelogin request
This commit is contained in:
parent
1e2322b938
commit
86ad51b0ad
@ -10,7 +10,7 @@ using namespace gpclient::helper;
|
|||||||
|
|
||||||
GatewayAuthenticator::GatewayAuthenticator(const QString& gateway, const PortalConfigResponse& portalConfig)
|
GatewayAuthenticator::GatewayAuthenticator(const QString& gateway, const PortalConfigResponse& portalConfig)
|
||||||
: QObject()
|
: QObject()
|
||||||
, preloginUrl("https://" + gateway + "/ssl-vpn/prelogin.esp")
|
, preloginUrl("https://" + gateway + "/ssl-vpn/prelogin.esp?tmp=tmp&kerberos-support=yes&ipv6-support=yes&clientVer=4100&clientos=Linux")
|
||||||
, loginUrl("https://" + gateway + "/ssl-vpn/login.esp")
|
, loginUrl("https://" + gateway + "/ssl-vpn/login.esp")
|
||||||
, portalConfig(portalConfig)
|
, portalConfig(portalConfig)
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ using namespace gpclient::helper;
|
|||||||
|
|
||||||
PortalAuthenticator::PortalAuthenticator(const QString& portal) : QObject()
|
PortalAuthenticator::PortalAuthenticator(const QString& portal) : QObject()
|
||||||
, portal(portal)
|
, portal(portal)
|
||||||
, preloginUrl("https://" + portal + "/global-protect/prelogin.esp")
|
, preloginUrl("https://" + portal + "/global-protect/prelogin.esp?tmp=tmp&kerberos-support=yes&ipv6-support=yes&clientVer=4100&clientos=Linux")
|
||||||
, configUrl("https://" + portal + "/global-protect/getconfig.esp")
|
, configUrl("https://" + portal + "/global-protect/getconfig.esp")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user