Skip to content

Commit

Permalink
Update Geocoding URL for Linux #1968
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Dec 11, 2024
1 parent 73ef931 commit c18ac2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/geotools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c18ac2e

Please sign in to comment.