From 5654b4eb897e4a4f9cb3c856704d7aec7e0310c0 Mon Sep 17 00:00:00 2001 From: Ji Jiang Date: Mon, 3 Jul 2017 17:54:57 +0100 Subject: [PATCH] CA-258321: Incorrect CFU user agent Fixed user agent string for CFU. Signed-off-by: Ji Jiang --- XenAdmin/Core/Updates.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XenAdmin/Core/Updates.cs b/XenAdmin/Core/Updates.cs index 38eb72f21..20230e9c9 100644 --- a/XenAdmin/Core/Updates.cs +++ b/XenAdmin/Core/Updates.cs @@ -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);