mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #1677 from jijiang/CA-258321
CA-258321: Incorrect CFU user agent
This commit is contained in:
commit
13f05aae5e
@ -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