Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enforce that the download, not update, URL is secure.

Fixes #1555
  • Loading branch information...
commit be7f924cd46ca52b067301e959245a356b5cd1f6 1 parent c8822bc
@arantius authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/script.js
View
2  modules/script.js
@@ -499,7 +499,7 @@ Script.prototype.isRemoteUpdateAllowed = function(aForced) {
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
.getService(Components.interfaces.nsIIOService);
- var scheme = ioService.extractScheme(this.updateURL);
+ var scheme = ioService.extractScheme(this._downloadURL);
switch (scheme) {
case 'about':
case 'chrome':
Please sign in to comment.
Something went wrong with that request. Please try again.