Serve non-browser add-on files as Content-Disposition: attachment

VERIFIED FIXED in 5.11

Status

addons.mozilla.org Graveyard
Public Pages
VERIFIED FIXED
8 years ago
2 years ago

People

(Reporter: krupa, Assigned: jbalogh)

Tracking

unspecified
5.11

Details

(URL)

(Reporter)

Description

8 years ago
steps to reproduce:
Try installing the add-on https://preview.addons.mozilla.org/en-US/mobile/addon/53633/


All non-Firefox add-on files should be served as attachments (when they are accessed from Firefox)
This is a dupe of another recent bug, I think.
(Assignee)

Comment 2

8 years ago
(In reply to comment #1)
> This is a dupe of another recent bug, I think.

It sounds close to bug 565143, but it's annoyingly different.

When you're in Fennec (or Thunderbird, eventually), we want to serve xpis directly.  When you're in Firefox looking at /mobile, we want to serve them as attachments for easy downloading.
(Reporter)

Comment 3

8 years ago
This also includes accessing Thunderbird add-ons in Firefox

STR:
1.Go to https://preview.addons.mozilla.org/en-US/thunderbird/addon/10183/
2.Click on the "Download Now" button
3.Click on the download button in the pop-up message

observed behavior:
firefox intercepts and tries to install the add-on.
Assignee: nobody → jbalogh
(Assignee)

Comment 4

8 years ago
http://github.com/jbalogh/zamboni/commit/5e7ff0fc8a
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

8 years ago
"Near me" is a mobile add-on.On clicking the "Download Now" button,Firefox intercepts and tries to install it.

add-on detail page:https://preview.addons.mozilla.org/en-US/mobile/addon/53633/

To check the supported apps on this add-on:
https://preview.addons.mozilla.org/en-US/developers/versions/edit/97716

So bug reported in comment #0 is not fixed.Reopening..
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 6

8 years ago
You filed a different bug for mobile.  It's a different problem.  We treat certain apps as browser apps and serve the files as .xpi.  For non-browser apps (that's you, THUNDERBIRD), we serve attachments.

Fixing the mobile vs. firefox vs. thunderbird-the-browser is a different issue. This bug fixes the regression from remora.
Status: REOPENED → RESOLVED
Last Resolved: 8 years ago8 years ago
Resolution: --- → FIXED
Summary: Serve non-Firefox add-on files as Content-Disposition: attachment → Serve non-browser add-on files as Content-Disposition: attachment
(Reporter)

Comment 7

8 years ago
Thunderbird add-ons get served as Content-Disposition: attachment.verified

https://preview.addons.mozilla.org/en-US/thunderbird/addon/246/
https://preview.addons.mozilla.org/en-US/thunderbird/addon/71/

verified
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.