Skip to content
Browse files

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

Fixes #1555
  • Loading branch information...
1 parent c8822bc commit be7f924cd46ca52b067301e959245a356b5cd1f6 @arantius committed
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':

0 comments on commit be7f924

Please sign in to comment.
Something went wrong with that request. Please try again.