We had this raised by one of our users here:
https://jira.atlassian.com/browse/SRCTREEWIN-1272
Occasionally our IT department decides to download new rulesets so our Barracuda firewall, and it then blocks access to Atlassian servers (as it classes them as download servers).
If the Sourtree client tries to check for updates whilst the update URL is blocked, the windowsupdates.aiu that gets downloaded is the barracudda blocked HTML page source.
From this point on, regardless of if we get the block removed, the update check fails. We have to delete the file to get the updater to recover itself.
This is easily reproducible. Shutdown Sourcetree, Put some scrambled text in windowsupdates.aiu and then try checking for updates.
The updater should be able to recover a invalid windowsupdates.aiu file.
Is there a way that the updater can validate the content of the downloaded update file and discard one that looks like an incorrect format rather than storing it?
FOLLOW US