Index: /src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java
===================================================================
--- /src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java	(revision 274)
+++ /src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java	(revision 275)
@@ -152,5 +152,5 @@
 			zoom++;
 		}
-		osmUrl.setText("http://www.openstreetmap.org/index.html?lat="+lat+"&lon="+lon+"&zoom="+zoom);
+		osmUrl.setText("http://www.openstreetmap.org/index.html?mlat="+lat+"&mlon="+lon+"&zoom="+zoom);
 	}
 	
@@ -196,6 +196,6 @@
 				double size = 180.0 / Math.pow(2, Integer.parseInt(map.get("zoom")));
 				b = new Bounds(
-	            	new LatLon(Double.parseDouble(map.get("lat")) - size/2, Double.parseDouble(map.get("lon")) - size),
-	            	new LatLon(Double.parseDouble(map.get("lat")) + size/2, Double.parseDouble(map.get("lon")) + size));
+	            	new LatLon(Double.parseDouble(map.get("mlat")) - size/2, Double.parseDouble(map.get("mlon")) - size),
+	            	new LatLon(Double.parseDouble(map.get("mlat")) + size/2, Double.parseDouble(map.get("mlon")) + size));
 			}
 		} catch (NumberFormatException x) {
Index: /test/org/openstreetmap/josm/gui/download/BoundingBoxSelectionTest.java
===================================================================
--- /test/org/openstreetmap/josm/gui/download/BoundingBoxSelectionTest.java	(revision 275)
+++ /test/org/openstreetmap/josm/gui/download/BoundingBoxSelectionTest.java	(revision 275)
@@ -0,0 +1,19 @@
+package org.openstreetmap.josm.gui.download;
+
+import static org.junit.Assert.*;
+
+import org.junit.Test;
+import org.openstreetmap.josm.data.Bounds;
+
+public class BoundingBoxSelectionTest {
+
+	private Bounds bounds;
+
+	@Test public void osmurl2boundsDoesWorkWithAnyDomain() throws Exception {
+		bounds = BoundingBoxSelection.osmurl2bounds("http://foobar?mlat=123&mlon=234&zoom=1");
+		assertNotNull(bounds);
+		
+		bounds = BoundingBoxSelection.osmurl2bounds("http://www.openstreetmap.org?mlat=123&mlon=234&zoom=1");
+		assertNotNull(bounds);
+	}
+}
