Switch over to https to prevent MITM attacks.

This commit is contained in:
Blake Winton 2011-02-28 13:12:09 -05:00
Родитель db9055dfc7
Коммит f35c75f8de
3 изменённых файлов: 7 добавлений и 7 удалений

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

@ -328,7 +328,7 @@ $(function() {
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
.getService(Components.interfaces.nsIIOService);
let opener = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"]
.getService(Components.interfaces.nsIExternalProtocolService)
.getService(Components.interfaces.nsIExternalProtocolService);
$(".external").click(function (e) {
e.preventDefault();
@ -507,7 +507,7 @@ $(function() {
$("#new_account").find(".spinner").hide();
if (data.succeeded) {
// Create the account using data.config!
let password = data.password
let password = data.password;
let config = readFromXML(new XML(data.config));
replaceVariables(config, realname, email, password);
account = createAccountInBackend(config);

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

@ -1,7 +1,7 @@
// https://developer.mozilla.org/en/Localizing_extension_descriptions
pref("extensions.getanaccount@mozillamessaging.com.description", "chrome://getanaccount/locale/overlay.properties");
pref("extensions.getanaccount.providerList", "http://broker.live.mozillamessaging.com/provider/list");
pref("extensions.getanaccount.logUrl", "http://broker.live.mozillamessaging.com/provider/log");
pref("extensions.getanaccount.suggestFromName", "http://broker.live.mozillamessaging.com/provider/hover/suggest");
pref("extensions.getanaccount.checkAddress", "http://broker.live.mozillamessaging.com/provider/hover/check");
pref("extensions.getanaccount.providerList", "https://broker-live.mozillamessaging.com/provider/list");
pref("extensions.getanaccount.logUrl", "https://broker-live.mozillamessaging.com/provider/log");
pref("extensions.getanaccount.suggestFromName", "https://broker-live.mozillamessaging.com/provider/hover/suggest");
pref("extensions.getanaccount.checkAddress", "https://broker-live.mozillamessaging.com/provider/hover/check");

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

@ -4,7 +4,7 @@
<em:id>getanaccount@mozillamessaging.com</em:id>
<em:type>2</em:type>
<em:name>Get An Account</em:name>
<em:version>1.0.2</em:version>
<em:version>1.0.3</em:version>
<em:creator>Blake Winton</em:creator>
<em:contributor>Bryan Clark</em:contributor>
<em:contributor>Andreas Nilsson</em:contributor>