Closed
Bug 288308
Opened 20 years ago
Closed 15 years ago
Firefox gets confused when requesting '.lnk' files
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: tommyjb, Unassigned)
References
()
Details
(Keywords: qawanted)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
If I set up a local HTTP server, and request some file ending in '.lnk', Firefox
gives me an error that the file cannot be found. Note that the server doesn't
give me an error -- the server sends the file and Firefox receives it. Firefox
shows the error message in a *message box*.
Reproducible: Always
Steps to Reproduce:
1. Set up an HTTP server, which can give access to a file ending in '.lnk'.
2. Request that file in Firefox.
Actual Results:
Taking the file name to be 'foo.lnk', Firefox pops up a message box which reads,
"The file /foo.lnk cannot be found. Please check the location and try again."
Expected Results:
Firefox should've let the user open that file.
Comment 1•20 years ago
|
||
And this is specific to '.lnk' extensions? All others work fine?
Summary: Seems to get confused when sending files ending with '.lnk' through HTTP. → Seems to get confused when receiving files, through HTTP, ending with '.lnk'.
(In reply to comment #1)
> And this is specific to '.lnk' extensions? All others work fine?
Yes - I can only reproduce this with files ending in '.lnk'. All others I've
tried work fine.
(Note that I just changed the title -- I wrote 'sending' when I meant 'receiving'.)
Comment 3•20 years ago
|
||
Tom - Do you have an example .lnk file that you can provide a link to?
Also, I would suggest that you update your version of Firefox. You can get 1.2.0
off of the main download page or a nightly build from
http://www.mozilla.org/developer/ (reccomended for reporting purposes).
Thank you.
Comment 4•20 years ago
|
||
>Set up an HTTP server, which can give access to a file ending in '.lnk'.
Which server on which platform ?
Do you have an example URL ?
This is wfm with http://www.mversen.de/test.lnk and a current Mozilla CVS trunk
and FF1.0.2 on win2k3
Comment 5•20 years ago
|
||
ok, I see this with a changed content-type :
http://www.mversen.de/mozilla/rar/mozilla.lnk
I bet that this is caused by a security check.
Assignee: bugs → file-handling
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Core
QA Contact: aebrahim-bmo → ian
Version: unspecified → Trunk
Comment 6•20 years ago
|
||
I'd like to blame windows for this...
Sorry for the late reply on this.
I downloaded 1.0.2 and the problem persists with it.
It seems that this problem occurs with any file whose name ends in '.lnk' --
even a zero-byte file.
The server I'm using is one I'm in the process of developing. It's running on
WinXP. The server is sending a Content-Type of 'application/octet-stream' for
Windows link files.
I believe that this is enough info; please reply if you need more.
Comment 8•19 years ago
|
||
Still doesn't WFM, with either of the following:
1. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060726 Minefield/3.0a1
2. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060726 BonEcho/2.0b1
| Reporter | ||
Comment 10•19 years ago
|
||
| Reporter | ||
Comment 11•19 years ago
|
||
Attachment #230785 -
Attachment description: Requesting a 'lnk' file through a local server → Requesting a 'lnk' file through a local server, with latest Minefield
Summary: Seems to get confused when receiving files, through HTTP, ending with '.lnk'. → Firefox gets confused when requesting '.lnk' files
Comment 12•19 years ago
|
||
Reading the comments in bug #194357 it seems that this is a dupe of that bug. If you think not please change this back too new. (The fix for bug #194357 should fix the error message)
*** This bug has been marked as a duplicate of 194357 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Updated•18 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 13•18 years ago
|
||
Another good reproducible case is: http://bugzilla.mozilla.org/attachment.cgi?id=250644
from bug 366087 which is probably a dupe but has this good test case.
Updated•16 years ago
|
Assignee: file-handling → nobody
QA Contact: ian → file-handling
| Reporter | ||
Comment 14•15 years ago
|
||
I cannot reproduce this problem with the latest trunk nightly (20100905 on Windows 7) using the test cases in Comment 5 and Comment 13.
Status: REOPENED → RESOLVED
Closed: 19 years ago → 15 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•