From a54f19257c85d801d12c120eec0d7327aa4b203b Mon Sep 17 00:00:00 2001 From: "samuel%sieb.net" Date: Wed, 4 Dec 2002 07:59:57 +0000 Subject: [PATCH] Bug 176765 - XML-RPC does not support https r=heikki sr=darin git-svn-id: svn://10.0.0.236/trunk@134787 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/xml-rpc/src/nsXmlRpcClient.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/extensions/xml-rpc/src/nsXmlRpcClient.js b/mozilla/extensions/xml-rpc/src/nsXmlRpcClient.js index a9a860a31af..71ce1c6598b 100644 --- a/mozilla/extensions/xml-rpc/src/nsXmlRpcClient.js +++ b/mozilla/extensions/xml-rpc/src/nsXmlRpcClient.js @@ -20,9 +20,9 @@ /* * nsXmlRpcClient XPCOM component - * Version: $Revision: 1.29 $ + * Version: $Revision: 1.30 $ * - * $Id: nsXmlRpcClient.js,v 1.29 2002-12-04 07:26:02 samuel%sieb.net Exp $ + * $Id: nsXmlRpcClient.js,v 1.30 2002-12-04 07:59:57 samuel%sieb.net Exp $ */ /* @@ -90,7 +90,7 @@ nsXmlRpcClient.prototype = { // Note that we don't care what the scheme is otherwise. // Should we care? POST works only on http and https.. if (!oURL.scheme) oURL.scheme = 'http'; - if (oURL.scheme != 'http') + if ((oURL.scheme != 'http') && (oURL.scheme != 'https')) throw Components.Exception('Only HTTP is supported'); this._serverUrl = oURL;