Can't install an .xpi from http://ftp.mozilla.org by clicking on it

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
17 years ago
3 years ago

People

(Reporter: samir_bugzilla, Assigned: dveditz)

Tracking

Trunk
x86
Windows 2000

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
This is specific to ftp.mozilla.org using HTTP, but works using FTP.  Also,
other servers using HTTP work fine.

Build:
------
2002032803 Netscape Trunk Win2K

Steps to reproduce:
-------------------
(1) Navigate to:
<http://ftp.mozilla.org/pub/mozilla/nightly/2002-03-28-10-trunk/windows-xpi/>
(2) Click on inspector.xpi (or any xpi).

Actual results:
---------------
File appears to download but then the status message shows ``Download error''
and the xpi has not installed.  No trace in the <bin dir>/install.log either. 
(That's cause install logging only starts after the file has downloaded as
dveditz refreshes my memory.)  This works on another http server
(http://jimbob/jars/ -- Netscape internal QA server hosting xpi testcases).

I checked the MIME type being sent by telneting to port 80 on ftp.mozilla.org
and making an HTTP request for inspactor.xpi.  The MIME type appears to be
correct and sent as ``application/x-xpinstall''.

<httplog>
$ telnet ftp.mozilla.org 80
Trying 207.200.81.212...
Connected to komodo.mozilla.org.
Escape character is '^]'.
GET /pub/mozilla/nightly/2002-03-28-10-trunk/windows-xpi/inspector.xpi HTTP/1.1
Host: ftp.mozilla.org

HTTP/1.1 200 OK
Date: Thu, 28 Mar 2002 22:55:04 GMT
Server: Apache/1.3.12 (Unix)
Last-Modified: Thu, 28 Mar 2002 19:49:09 GMT
ETag: "475-339b9-3ca373b5"
Accept-Ranges: bytes
Content-Length: 211385
Content-Type: application/x-xpinstall

PK&#9829;&#9830;
     .U|,            &#9830; § bin/UT  &#9829;zd£<¿d£<Ux&#9830; é&#9829;&#9786;&#9787;PK&#9829;&#9830;
</httplog>

Expected results:
-----------------
The .xpi downloads and installs successfully like it does when you go to
ftp://ftp.mozilla.org and click on the same .xpi.

Comment 1

17 years ago
Ccing Grace.
(Reporter)

Updated

17 years ago
Summary: Can't install an .xpi from http://ftp.mozilla.org by lciking on it → Can't install an .xpi from http://ftp.mozilla.org by clicking on it

Comment 2

15 years ago
FYI - The Permission Manager for the XPI install was implemented recently.  This
is going to change the perspective of this bug.
(Assignee)

Updated

12 years ago
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.