[gnome-calculator] Use HTTPS for downloading exchange rates
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Use HTTPS for downloading exchange rates
- Date: Mon, 22 Dec 2014 15:31:16 +0000 (UTC)
commit 41d04d1c2c9431b83a181806ea2e9428f8e45f84
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Dec 22 09:27:39 2014 -0600
Use HTTPS for downloading exchange rates
Because it's available, and some security > no security
https://bugzilla.gnome.org/show_bug.cgi?id=741828
src/currency.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/currency.vala b/src/currency.vala
index ea3293f..6435599 100644
--- a/src/currency.vala
+++ b/src/currency.vala
@@ -400,14 +400,14 @@ public class CurrencyManager : Object
{
downloading_imf_rates = true;
debug ("Downloading rates from the IMF...");
- download_file ("http://www.imf.org/external/np/fin/data/rms_five.aspx?tsvflag=Y", path,
download_imf_cb);
+ download_file ("https://www.imf.org/external/np/fin/data/rms_five.aspx?tsvflag=Y", path,
download_imf_cb);
}
path = get_ecb_rate_filepath ();
if (!downloading_ecb_rates && file_needs_update (path, 60 * 60 * 24 * 7))
{
downloading_ecb_rates = true;
debug ("Downloading rates from the ECB...");
- download_file ("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml", path,
download_ecb_cb);
+ download_file ("https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml", path,
download_ecb_cb);
}
if (!load_rates ())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]