Skip to content

Commit

Permalink
no longer strip apikeys from URL, we have api key handling now
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19274 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
stoecker committed Jan 1, 2025
1 parent efbb92a commit 17a98eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/SyncEditorLayerIndex.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)=[^&?]*", "");

Check failure on line 1379 in scripts/SyncEditorLayerIndex.java

View workflow job for this annotation

GitHub Actions / Analyze

com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck

';' is not followed by whitespace.
}

static String getDate(Object e) {
Expand Down

0 comments on commit 17a98eb

Please sign in to comment.