diff --git a/src/Logic/Search/PhotonSearch.ts b/src/Logic/Search/PhotonSearch.ts index 3f6af41bd..a34ade4b8 100644 --- a/src/Logic/Search/PhotonSearch.ts +++ b/src/Logic/Search/PhotonSearch.ts @@ -125,6 +125,10 @@ export default class PhotonSearch implements GeocodingProvider, ReverseGeocoding if (query.length < 3) { return [] } + if(query.indexOf("https://") >=0){ + // Photon gives a '403 forbidden' when this is part of the search string + return [] + } const limit = this.searchLimit let bbox = "" if (options?.bbox && !this.ignoreBounds) {