Bug 176764 - XML-RPC creates URL objects in a bad way

r=heikki
sr=darin
This commit is contained in:
samuel%sieb.net 2002-12-04 07:26:02 +00:00
Родитель 9f302dd4ff
Коммит bf72c4f899
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -20,9 +20,9 @@
/*
* nsXmlRpcClient XPCOM component
* Version: $Revision: 1.28 $
* Version: $Revision: 1.29 $
*
* $Id: nsXmlRpcClient.js,v 1.28 2002-12-04 07:22:50 samuel%sieb.net Exp $
* $Id: nsXmlRpcClient.js,v 1.29 2002-12-04 07:26:02 samuel%sieb.net Exp $
*/
/*
@ -82,9 +82,9 @@ nsXmlRpcClient.prototype = {
_passwordTried: false,
init: function(serverURL) {
var oURL = createInstance('@mozilla.org/network/standard-url;1',
'nsIURL');
oURL.spec = serverURL;
var ios = Components.classes["@mozilla.org/network/io-service;1"].
getService(Components.interfaces.nsIIOService);
var oURL = ios.newURI(serverURL, null, null);
// Make sure it is a complete spec
// Note that we don't care what the scheme is otherwise.