Ticket #18504: 18504.1.patch

File 18504.1.patch, 804 bytes (added by taylor.smock, 3 months ago)

Work with multiple tasks

  • src/org/openstreetmap/josm/io/OsmServerLocationReader.java

     
    5959        EDIT_TRACE_ID("https?://.*(osm|openstreetmap).org/edit/?\\?gpx=(\\p{Digit}+)(#.*)?"),
    6060
    6161        TRACKPOINTS_BBOX("https?://.*/api/0.6/trackpoints\\?bbox=.*,.*,.*,.*"),
    62         TASKING_MANAGER("https?://.*/api/v\\p{Digit}+/project/\\p{Digit}+/tasks_as_gpx?.*"),
     62        TASKING_MANAGER("https?://.*/api/v\\p{Digit}+/projects?/\\p{Digit}+/(tasks_as_gpx?.*|tasks/queries/gpx/\\?tasks=.*)"),
    6363
    6464        /** External GPX script */
    6565        EXTERNAL_GPX_SCRIPT("https?://.*exportgpx.*"),