use HTTPS URL for sharing location
In order to maintain privacy when sharing location, this changes the shared location link to use HTTPS, thereby hiding the location info from anyone who might be snooping on the WiFi, ISP, internet, etc. Unfortunately, http://osm.org does not yet work with HTTPS, but the standard OSM URLs are short enough to fit into a text message. They are planning on supporting https://osm.org in the future: https://github.com/openstreetmap/operations/issues/2
This commit is contained in:
parent
c90d37fcab
commit
c54d8d47e8
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ import net.osmand.data.QuadPoint;
|
|||
*/
|
||||
public class MapUtils {
|
||||
|
||||
private static final String BASE_SHORT_OSM_URL = "http://osm.org/go/";
|
||||
// TODO change the hostname back to osm.org once HTTPS works for it
|
||||
// https://github.com/openstreetmap/operations/issues/2
|
||||
private static final String BASE_SHORT_OSM_URL = "https://openstreetmap.org/go/";
|
||||
|
||||
/**
|
||||
* This array is a lookup table that translates 6-bit positive integer
|
||||
|
|
Loading…
Reference in a new issue