Bug - Fixed Easyfax not updating

Darzil

Developer
Will drop Crowther a line, but not sure if we should treat this as a Mafia code or datafile bug.

We get Easyfax updates from http://sourceforge.net/p/easyfax/code/HEAD/tree/Easyfax.xml?format=raw but are getting code 302 from it, which FileUtilities.downloadFile() doesn't handle.

I guess maybe we just get the URL it's redirecting to, and put that in the faxbot.txt file instead, but maybe we need to get downloadFile() to follow redirects ?

My last update was 18th Jan 2016.
 

Crowther

Active member
I messaged Darzil in game, then saw this here. I believe this is because Sourceforge is now redirecting http to https.
 

Darzil

Developer
That would be the short-term fix. I can't see a good reason for FileUtilities.downloadFile not to follow redirects, though.
I could see a security argument that we shouldn't follow redirects other than within KoL itself. Whilst redirects will usually be like this, server hacks that redirect have been known.
 
Top