HTTPS uses a different set of proxy parameters.

See http://www.nabble.com/Update-Center-proxy--tt17751030.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10061 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-06-13 00:29:16 +00:00
1 parent 108647972d
commit 1c4de2db9b
1 file changed
+2
@@ -173,6 +173,8 @@ public final class PluginManager extends AbstractModelObject {
public void doProxyConfigure(@QueryParameter("proxy.server") String server, @QueryParameter("proxy.port") String port, StaplerResponse rsp) throws IOException {
setProp("http.proxyHost", Util.fixEmptyAndTrim(server));
setProp("http.proxyPort",Util.fixEmptyAndTrim(port));
setProp("https.proxyHost", Util.fixEmptyAndTrim(server));
setProp("https.proxyPort",Util.fixEmptyAndTrim(port));
rsp.sendRedirect("./advanced");
}