diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2012-09-09 08:19:06 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2012-09-09 08:19:06 +0200 |
commit | 87066313c48a1c068c9fd9b040e1a0812d12b208 (patch) | |
tree | fe8736adeb7694d8107f3354f5df715e4b50155b /main/src/cgeo | |
parent | e585fc7b3359c34a824841503c6bf1f54a4399d0 (diff) | |
download | cgeo-87066313c48a1c068c9fd9b040e1a0812d12b208.zip cgeo-87066313c48a1c068c9fd9b040e1a0812d12b208.tar.gz cgeo-87066313c48a1c068c9fd9b040e1a0812d12b208.tar.bz2 |
#2024: change URLs to contain duplicate backslash
* so they are not catched by c:geo again
Diffstat (limited to 'main/src/cgeo')
-rw-r--r-- | main/src/cgeo/geocaching/cgTrackable.java | 2 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/cgWaypoint.java | 2 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCConnector.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/cgTrackable.java b/main/src/cgeo/geocaching/cgTrackable.java index 1cf867b..c9b5623 100644 --- a/main/src/cgeo/geocaching/cgTrackable.java +++ b/main/src/cgeo/geocaching/cgTrackable.java @@ -48,7 +48,7 @@ public class cgTrackable implements ILogable { return null; } } - return "http://www.geocaching.com/track/details.aspx?tracker=" + geocode.toUpperCase(); + return "http://www.geocaching.com//track/details.aspx?tracker=" + geocode.toUpperCase(); } public String getGuid() { diff --git a/main/src/cgeo/geocaching/cgWaypoint.java b/main/src/cgeo/geocaching/cgWaypoint.java index 2613514..0e21c08 100644 --- a/main/src/cgeo/geocaching/cgWaypoint.java +++ b/main/src/cgeo/geocaching/cgWaypoint.java @@ -156,7 +156,7 @@ public class cgWaypoint implements IWaypoint, Comparable<cgWaypoint> { } public String getUrl() { - return "http://www.geocaching.com/seek/cache_details.aspx?wp=" + geocode.toUpperCase(); + return "http://www.geocaching.com//seek/cache_details.aspx?wp=" + geocode.toUpperCase(); } @Override diff --git a/main/src/cgeo/geocaching/connector/gc/GCConnector.java b/main/src/cgeo/geocaching/connector/gc/GCConnector.java index 0cfab2d..5607d97 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCConnector.java +++ b/main/src/cgeo/geocaching/connector/gc/GCConnector.java @@ -45,7 +45,7 @@ public class GCConnector extends AbstractConnector implements ISearchByGeocode, @Override public String getCacheUrl(cgCache cache) { // it would also be possible to use "http://www.geocaching.com/seek/cache_details.aspx?wp=" + cache.getGeocode(); - return "http://www.geocaching.com/seek/cache_details.aspx?wp=" + cache.getGeocode(); + return "http://www.geocaching.com//seek/cache_details.aspx?wp=" + cache.getGeocode(); } @Override |