Closed
Bug 163755
Opened 22 years ago
Closed 22 years ago
incorrect filenames while downloading
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
People
(Reporter: lordanthron, Assigned: law)
References
Details
I was creating a php script to return an mp3 file to the browser. here are the
headers i had the php script give to the browser:
'Content-Type: application/mp3';
'Content-Disposition: inline; filename=\"mp3.mp3\"';
when mozilla receives this, it brings up the download prompt, which is good,
except for a file of type .php. It asks me where I would like to save
mp3.mp3.php. The actual url it is pointing to is download.php.
I hope that helps.
Comment 1•22 years ago
|
||
See bug 163254 and bug 65827.
Comment 2•22 years ago
|
||
*** This bug has been marked as a duplicate of 146781 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 3•22 years ago
|
||
marking verified as a duplicate.
if you decide to reopen this bug, please clarify why.
search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Comment 4•22 years ago
|
||
Reopening. Bug 146781 deals with a very specific situation, involving saving
via context menu and a redirecting script. This bug, on the other hand deals
with loading a file directly and saving from the "what do I do now?" dialog.
Alex, is there a publicly available url I could load to test this?
Status: VERIFIED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 5•22 years ago
|
||
I'm seeing this too with a perl script and a .cgi being appended...very annoying
(fancy perl stuff here...)
print "Content-Type: application/octet-stream\n";
print "Content-Disposition: attachment; filename=$p0\n";
print "\n";
open(FILE, $send_file);
print <FILE>;
close(FILE);
Updated•22 years ago
|
QA Contact: sairuh → petersen
*** Bug 184609 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 7•22 years ago
|
||
*** This bug has been marked as a duplicate of 65827 ***
Status: NEW → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•