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);
+	}
+}
