From 17a98eb97ffa6db05dbc0c3383b94ff3fc4b42ac Mon Sep 17 00:00:00 2001 From: stoecker Date: Wed, 1 Jan 2025 13:01:46 +0000 Subject: [PATCH] no longer strip apikeys from URL, we have api key handling now git-svn-id: https://josm.openstreetmap.de/svn/trunk@19274 0c6e7542-c601-0410-84e7-c038aed88b3b --- scripts/SyncEditorLayerIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/SyncEditorLayerIndex.java b/scripts/SyncEditorLayerIndex.java index 6c2b4a324a..450766bdcf 100644 --- a/scripts/SyncEditorLayerIndex.java +++ b/scripts/SyncEditorLayerIndex.java @@ -1376,7 +1376,7 @@ static String getUrl(Object e) { } static String getUrlStripped(Object e) { - return getUrl(e).replaceAll("\\?(apikey|access_token)=.*", ""); + return getUrl(e);//.replaceAll("\\?(apikey|access_token)=[^&?]*", ""); } static String getDate(Object e) {