diff --git a/kunitconversion/currency.cpp b/kunitconversion/currency.cpp index b6c20e9c..331c8444 100644 --- a/kunitconversion/currency.cpp +++ b/kunitconversion/currency.cpp @@ -45,13 +45,13 @@ using namespace KUnitConversion; -static const char URL[] = "http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml"; +static const char URL[] = "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml"; Currency::Currency() : UnitCategory(CurrencyCategory) { setName(i18n("Currency")); setDescription(i18n("From ECB")); - setUrl(KUrl("http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html")); + setUrl(KUrl("https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html")); setSymbolStringFormat(ki18nc("%1 value, %2 unit symbol (currency)", "%1 %2")); // Static rates