Use full URL when downloading updates XML

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
Danilo Del Busso 2023-04-13 09:57:05 +01:00
parent 61ff54ba44
commit dc1e001a8a
No known key found for this signature in database

View File

@ -358,7 +358,7 @@ namespace XenAdmin.Actions
{
webClient.Proxy = proxy;
webClient.Headers.Add("User-Agent", _userAgent);
using (var stream = new MemoryStream(webClient.DownloadData(uri)))
using (var stream = new MemoryStream(webClient.DownloadData(uriBuilder.Uri)))
checkForUpdatesXml.Load(stream);
}
}