From a92bca4052b227e47176c0fe3129549a4aad0645 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 6 Mar 2018 11:06:09 +0100 Subject: [PATCH] Use https for OpenStreetMap URIs built from PEP --- gajim/chat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/chat_control.py b/gajim/chat_control.py index 61076cf60..a04e65010 100644 --- a/gajim/chat_control.py +++ b/gajim/chat_control.py @@ -591,7 +591,7 @@ class ChatControl(ChatControlBase): if 'location' in self.contact.pep: location = self.contact.pep['location']._pep_specific_data if ('lat' in location) and ('lon' in location): - uri = 'http://www.openstreetmap.org/?' + \ + uri = 'https://www.openstreetmap.org/?' + \ 'mlat=%(lat)s&mlon=%(lon)s&zoom=16' % {'lat': location['lat'], 'lon': location['lon']} helpers.launch_browser_mailer('url', uri)