Changeset 18409 in josm for trunk/src/org


Ignore:
Timestamp:
2022-03-22T18:32:41+01:00 (3 years ago)
Author:
taylor.smock
Message:

see r18407, #21756: Don't log oauth secrets (PMD)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r18407 r18409  
    131131     */
    132132    private String stripUrl(URL url) {
    133         return url.toString().replaceAll("(token|key|connectId)=[^&]+","$1=...stripped...");
     133        return url.toString().replaceAll("(token|key|connectId)=[^&]+", "$1=...stripped...");
    134134    }
    135135
Note: See TracChangeset for help on using the changeset viewer.