@@ -0,0 +1,155 @@
+package org.geoserver.shell;%0A%0Apublic class URLUtil %7B%0A    %0A    public static String encode(String str) %7B%0A        return str.replaceAll(%22 %22,%22%2520%22);%0A    %7D%0A%0A%7D%0A

Add URLUtil class for encoding names with spaces