Commits

Jan Lahoda  committed 4148aa5

When delegating to an URL, don't quote the query part again.

  • Participants
  • Parent commits e632490

Comments (0)

Files changed (1)

File remoting/server/hudson/src/main/java/org/netbeans/modules/jackpot30/hudson/IndexGlobalAction.java

         InputStream in = null;
         OutputStream out = null;
         try {
-            URI delegateURI = new URI("http", null, "localhost", 9998, "/index" + req.getRestOfPath(), req.getQueryString(), null);
+            URI delegateURI = new URI("http://localhost:9998/index" + req.getRestOfPath() + "?" + req.getQueryString());
             URLConnection inConnection = delegateURI.toURL().openConnection();
             in = inConnection.getInputStream();