Serve Thunderbird files as Content-Disposition: attachment

VERIFIED FIXED in 5.10.3

Status

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

People

(Reporter: jbalogh, Assigned: jbalogh)

Tracking

Bug Flags:
in-litmus ?

Details

(Whiteboard: [z], URL)

(Assignee)

Description

8 years ago
But only if we're not in Thunderbird.  Linking directly to the .xpi doesn't work because Firefox intercepts the file and tries to install it.

Remora gets around this by putting type:attachment in the url.

Updated

8 years ago
Flags: in-litmus?
(Assignee)

Comment 1

8 years ago
http://github.com/jbalogh/zamboni/commits/514e4114b
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Verified FIXED:

https://preview.addons.mozilla.org/en-US/thunderbird/downloads/file/78204/xpi/enigmail-1.0.1-tb-win.xpi?src=addondetail

GET /en-US/thunderbird/downloads/file/78204/xpi/enigmail-1.0.1-tb-win.xpi?src=addondetail HTTP/1.1
Host: preview.addons.mozilla.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
<snip>

HTTP/1.1 200 OK
Server: Apache
X-Backend-Server: pm-app-amo24
Cache-Control: no-store, must-revalidate, post-check=0, pre-check=0, private, max-age=0
Content-Type: application/x-xpinstall
Date: Wed, 12 May 2010 22:26:34 GMT
Keep-Alive: timeout=5, max=999
X-AMO-ServedBy: pm-app-amo24.mozilla.org
Pragma: private
Content-Disposition: attachment; filename="enigmail-1.0.1-tb-win.xpi"
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.