Changeset 13801 in josm for trunk/scripts


Ignore:
Timestamp:
2018-05-21T10:12:14+02:00 (7 years ago)
Author:
stoecker
Message:

detect space at URL end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r13792 r13801  
    830830            for(def u : urls) {
    831831                def m = u =~ /^https?:\/\/([^\/]+?)(:\d+)?\//
    832                 if(!m)
     832                if(!m || u =~ /[ \t]+$/)
    833833                    myprintln "* Strange URL '${u}': ${getDescription(j)}"
    834834                else {
Note: See TracChangeset for help on using the changeset viewer.