Index: /applications/editors/josm/plugins/ywms/src/org/openstreetmap/josm/plugins/ywms/ImageLoader.java
===================================================================
--- /applications/editors/josm/plugins/ywms/src/org/openstreetmap/josm/plugins/ywms/ImageLoader.java	(revision 4033)
+++ /applications/editors/josm/plugins/ywms/src/org/openstreetmap/josm/plugins/ywms/ImageLoader.java	(revision 4034)
@@ -82,5 +82,6 @@
 			URI request = new URI("file:///page" + wmsUrl);
 			String query = request.getQuery().toLowerCase();
-			yahooUrl = new URI( "file", null, Util.getPluginDir() + "ymap.html", query, null);
+			yahooUrl = new File(Util.getPluginDir(), "ymap.html").toURI();
+			yahooUrl = new URI( yahooUrl.toString() + "?" + query);
 			
 			// Parse query to find original bounding box and dimensions
