Use https for OpenStreetMap URIs built from PEP

This commit is contained in:
Daniel 2018-03-06 11:06:09 +01:00 committed by Philipp Hörist
parent a3e651b288
commit a92bca4052
1 changed files with 1 additions and 1 deletions

View File

@ -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)