Index: /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTask.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTask.java	(revision 5485)
+++ /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTask.java	(revision 5486)
@@ -33,6 +33,6 @@
     private static final String PATTERN_TRACKPOINTS_BBOX = "http://.*/api/0.6/trackpoints\\?bbox=.*,.*,.*,.*";
 
-    private static final String PATTERN_EXTERNAL_GPX_SCRIPT = "http://.*exportgpx.*";
-    private static final String PATTERN_EXTERNAL_GPX_FILE = "http://.*/(.*\\.gpx)";
+    private static final String PATTERN_EXTERNAL_GPX_SCRIPT = "https?://.*exportgpx.*";
+    private static final String PATTERN_EXTERNAL_GPX_FILE = "https?://.*/(.*\\.gpx)";
 
     protected String newLayerName = null;
Index: /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeCompressedTask.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeCompressedTask.java	(revision 5485)
+++ /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeCompressedTask.java	(revision 5486)
@@ -17,5 +17,5 @@
     @Override
     public boolean acceptsUrl(String url) {
-        return url != null && url.matches("http://.*/.*\\.osc.(gz|bz2?)"); // Remote .osc.gz / .osc.bz / .osc.bz2 files
+        return url != null && url.matches("https?://.*/.*\\.osc.(gz|bz2?)"); // Remote .osc.gz / .osc.bz / .osc.bz2 files
     }
         
@@ -30,5 +30,5 @@
             protected DataSet parseDataSet() throws OsmTransferException {
                 ProgressMonitor subTaskMonitor = progressMonitor.createSubTaskMonitor(ProgressMonitor.ALL_TICKS, false);
-                if (url.matches("http://.*/.*\\.osc.bz2?")) {
+                if (url.matches("https?://.*/.*\\.osc.bz2?")) {
                     return reader.parseOsmChangeBzip2(subTaskMonitor);
                 } else {
@@ -39,5 +39,5 @@
         currentBounds = null;
         // Extract .osc.gz/bz/bz2 filename from URL to set the new layer name
-        extractOsmFilename("http://.*/(.*\\.osc.(gz|bz2?))", url);
+        extractOsmFilename("https?://.*/(.*\\.osc.(gz|bz2?))", url);
         return Main.worker.submit(downloadTask);
     }
Index: /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeTask.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeTask.java	(revision 5485)
+++ /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeTask.java	(revision 5486)
@@ -39,5 +39,5 @@
         return url != null && (
                 url.matches("http://.*/api/0.6/changeset/\\p{Digit}+/download") // OSM API 0.6 changesets
-             || url.matches("http://.*/.*\\.osc")                               // Remote .osc files
+             || url.matches("https?://.*/.*\\.osc")                             // Remote .osc files
                 );
     }
@@ -62,5 +62,5 @@
                 progressMonitor);
         // Extract .osc filename from URL to set the new layer name
-        extractOsmFilename("http://.*/(.*\\.osc)", url);
+        extractOsmFilename("https?://.*/(.*\\.osc)", url);
         return Main.worker.submit(downloadTask);
     }
Index: /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmCompressedTask.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmCompressedTask.java	(revision 5485)
+++ /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmCompressedTask.java	(revision 5486)
@@ -18,5 +18,5 @@
     @Override
     public boolean acceptsUrl(String url) {
-        return url != null && url.matches("http://.*/.*\\.osm.(gz|bz2?)"); // Remote .osm.gz / .osm.bz / .osm.bz2 files
+        return url != null && url.matches("https?://.*/.*\\.osm.(gz|bz2?)"); // Remote .osm.gz / .osm.bz / .osm.bz2 files
     }
     
@@ -40,5 +40,5 @@
             protected DataSet parseDataSet() throws OsmTransferException {
                 ProgressMonitor subTaskMonitor = progressMonitor.createSubTaskMonitor(ProgressMonitor.ALL_TICKS, false);
-                if (url.matches("http://.*/.*\\.osm.bz2?")) {
+                if (url.matches("https?://.*/.*\\.osm.bz2?")) {
                     return reader.parseOsmBzip2(subTaskMonitor);
                 } else {
@@ -49,5 +49,5 @@
         currentBounds = null;
         // Extract .osm.gz/bz/bz2 filename from URL to set the new layer name
-        extractOsmFilename("http://.*/(.*\\.osm.(gz|bz2?))", url);
+        extractOsmFilename("https?://.*/(.*\\.osm.(gz|bz2?))", url);
         return Main.worker.submit(downloadTask);
     }
Index: /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java	(revision 5485)
+++ /trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java	(revision 5486)
@@ -129,5 +129,5 @@
         currentBounds = null;
         // Extract .osm filename from URL to set the new layer name
-        extractOsmFilename("http://.*/(.*\\.osm)", url);
+        extractOsmFilename("https?://.*/(.*\\.osm)", url);
         return Main.worker.submit(downloadTask);
     }
@@ -147,5 +147,5 @@
              || url.matches("http://.*/interpreter\\?data=.*")                      // Overpass API
              || url.matches("http://.*/xapi\\?.*\\[@meta\\].*")                     // Overpass API XAPI compatibility layer
-             || url.matches("http://.*/.*\\.osm")                                   // Remote .osm files
+             || url.matches("https?://.*/.*\\.osm")                                 // Remote .osm files
                 );
     }
