Use https for OpenStreetMap URIs built from PEP
This commit is contained in:
		
							parent
							
								
									a3e651b288
								
							
						
					
					
						commit
						a92bca4052
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -591,7 +591,7 @@ class ChatControl(ChatControlBase):
 | 
				
			||||||
        if 'location' in self.contact.pep:
 | 
					        if 'location' in self.contact.pep:
 | 
				
			||||||
            location = self.contact.pep['location']._pep_specific_data
 | 
					            location = self.contact.pep['location']._pep_specific_data
 | 
				
			||||||
            if ('lat' in location) and ('lon' in location):
 | 
					            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'],
 | 
					                        'mlat=%(lat)s&mlon=%(lon)s&zoom=16' % {'lat': location['lat'],
 | 
				
			||||||
                        'lon': location['lon']}
 | 
					                        'lon': location['lon']}
 | 
				
			||||||
                helpers.launch_browser_mailer('url', uri)
 | 
					                helpers.launch_browser_mailer('url', uri)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue