From ee99918d72d6bdd387818be69adf5f8ff2236806 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sun, 31 May 2020 13:29:53 +0200 Subject: [PATCH] (Temporary?) hotfix for broken certification-chain of openweathermap.org. Signed-off-by: Jens Lody --- src/extension.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/extension.js b/src/extension.js index 927c9c2..56113dd 100644 --- a/src/extension.js +++ b/src/extension.js @@ -1115,6 +1115,9 @@ class OpenweatherMenuButton extends PanelMenu.Button { if (_httpSession === undefined) { _httpSession = new Soup.Session(); _httpSession.user_agent = this.user_agent; + if (this._weather_provider == WeatherProvider.OPENWEATHERMAP) { + _httpSession.ssl_strict = false; + } } else { // abort previous requests. _httpSession.abort();