Closed Bug 163755 Opened 22 years ago Closed 22 years ago

incorrect filenames while downloading

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 65827

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.
*** This bug has been marked as a duplicate of 146781 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
marking verified as a duplicate. if you decide to reopen this bug, please clarify why. search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
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 → ---
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);
QA Contact: sairuh → petersen
*** Bug 184609 has been marked as a duplicate of this bug. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** This bug has been marked as a duplicate of 65827 ***
Status: NEW → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.