Changeset 14944 in josm


Ignore:
Timestamp:
2019-03-30T22:29:46+01:00 (7 months ago)
Author:
Klumbumbus
Message:

fix #17544 - support optional browse/ in osm url at open location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmIdTask.java

    r14396 r14944  
    2424public class DownloadOsmIdTask extends DownloadOsmTask {
    2525
    26     private static final String URL_ID_PATTERN = "https?://(?:www\\.)?(osm|openstreetmap)\\.org/(node|way|relation)/(\\p{Digit}+).*";
     26    private static final String URL_ID_PATTERN = "https?://(?:www\\.)?(osm|openstreetmap)\\.org/(?:browse/)?(node|way|relation)/(\\p{Digit}+).*";
    2727
    2828    @Override
Note: See TracChangeset for help on using the changeset viewer.