Open Bug 1572527 Opened 7 years ago Updated 5 years ago

pasting links to XPIs will not show domain warning

Categories

(Toolkit :: Add-ons Manager, defect, P3)

defect

Tracking

()

People

(Reporter: mixedpuppy, Unassigned)

References

(Blocks 1 open bug)

Details

If you have foo.com/install.html with a link to an xpi, we warn about installing an addon from foo.com.

If you paste a url foo.com/addon.xpi we do not warn.

I think we should warn in that case. Just because a user pastes a url to install an addon doesn't mean we trust an install from that site.

NI Shane to link with install dialog work being discussed.

Flags: needinfo?(mixedpuppy)
Blocks: 1568635
Flags: needinfo?(mixedpuppy)

It seems this is intentional and can be changed by setting xpinstall.whitelist.directRequest pref to false.

Refer to these functions

  1. https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIInstall.jsm#4099
  2. https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIInstall.jsm#4068

Matching priority of bug 1568635.

Priority: -- → P2

Update priority to match bug 1568635 priority.

Severity: normal → S3
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.