mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
CA-258321: Incorrect CFU user agent
Fixed user agent string for CFU. Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
This commit is contained in:
parent
a5c895da0c
commit
5654b4eb89
@ -215,7 +215,7 @@ namespace XenAdmin.Core
|
||||
|
||||
private static DownloadUpdatesXmlAction CreateDownloadUpdatesXmlAction(bool checkForXenCenter, bool checkForServerVersion, bool checkForPatches, string checkForUpdatesUrl = null)
|
||||
{
|
||||
string userAgent = string.Format("[XenCenter]/{0}.{1} ({2}-bit)", Branding.XENCENTER_VERSION, Program.Version.Revision.ToString(), IntPtr.Size * 8);
|
||||
string userAgent = string.Format("{0}/{1}.{2} ({3}-bit)", Branding.BRAND_CONSOLE, Branding.XENCENTER_VERSION, Program.Version.Revision.ToString(), IntPtr.Size * 8);
|
||||
string userAgentId = GetUniqueIdHash();
|
||||
|
||||
return new DownloadUpdatesXmlAction(checkForXenCenter, checkForServerVersion, checkForPatches, userAgent, userAgentId, checkForUpdatesUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user