mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	Add extra parameters to prelogin request
This commit is contained in:
		| @@ -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") | ||||||
| { | { | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user