From c18ac2e4fcd6eb9438006444e29a46ae01057e26 Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Wed, 11 Dec 2024 03:13:05 -0700 Subject: [PATCH] Update Geocoding URL for Linux #1968 --- src/geotools.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/geotools.cpp b/src/geotools.cpp index 44092036d..0eba5dacb 100644 --- a/src/geotools.cpp +++ b/src/geotools.cpp @@ -187,6 +187,10 @@ bool GeoTools::GeocodeDeveloper(const wxString& address, double* lat, double* lo wxBusyCursor curs; wxMessageBox(url, "geocode developer URL"); + // SAM issue 1968 + url.Replace("&", "\\&"); + wxMessageBox(url, "updated geocode developer URL"); + if (showprogress) { if (!curl.Get(url, "Geocoding address '" + address + "'...")) return false;