From c302fd2bea710c960db7bc14aeac762c865f677a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 28 Feb 2017 17:13:07 +0000 Subject: [PATCH] Bug 18066: Use https for ws Signed-off-by: Chris Cormack Signed-off-by: Julian Maurice Signed-off-by: Brendan A Gallagher --- C4/UsageStats.pm | 2 +- .../intranet-tmpl/prog/en/modules/admin/usage_statistics.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/UsageStats.pm b/C4/UsageStats.pm index c71f99bc19..16f86df9a8 100644 --- a/C4/UsageStats.pm +++ b/C4/UsageStats.pm @@ -355,7 +355,7 @@ sub ReportToCommunity { my $data = shift; my $json = encode_json($data); - my $url = "http://hea.koha-community.org/upload.pl"; + my $url = "https://hea.koha-community.org/upload.pl"; my $ua = LWP::UserAgent->new; my $res = $ua->post( $url, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt index 230d16bbc5..75a1f0b47e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt @@ -230,7 +230,7 @@
  • [% IF Koha.Preference('UsageStatsPublicID') %] - [% SET my_url = 'http://hea.koha-community.org/libraries/' _ Koha.Preference('UsageStatsPublicID') %] + [% SET my_url = 'https://hea.koha-community.org/libraries/' _ Koha.Preference('UsageStatsPublicID') %] [% my_url %] [% ELSE %] You do not have anything public yet. -- 2.39.5