When delegating to an URL, don't quote the query part again.
1.1 --- a/remoting/server/hudson/src/main/java/org/netbeans/modules/jackpot30/hudson/IndexGlobalAction.java Wed Sep 26 21:11:25 2012 +0200
1.2 +++ b/remoting/server/hudson/src/main/java/org/netbeans/modules/jackpot30/hudson/IndexGlobalAction.java Thu Sep 27 07:44:23 2012 +0200
1.3 @@ -78,7 +78,7 @@
1.4 InputStream in = null;
1.5 OutputStream out = null;
1.6 try {
1.7 - URI delegateURI = new URI("http", null, "localhost", 9998, "/index" + req.getRestOfPath(), req.getQueryString(), null);
1.8 + URI delegateURI = new URI("http://localhost:9998/index" + req.getRestOfPath() + "?" + req.getQueryString());
1.9 URLConnection inConnection = delegateURI.toURL().openConnection();
1.10 in = inConnection.getInputStream();
1.11