Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

v8 blocks attachment downloads from SMF forums

  • 5 பதிலளிப்புகள்
  • 17 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by rikbean

Since updating to v8, attachments in the SMF forums I run are not being properly recognised, and (although the file type may be recognised fir, say, a JPEG file) it is offered for saving as index.php. A midi or MP3 attachment will be offered for saving as index.php. Renaming the saved version produces the correct file type. A check in other browsers, and on a machine still running v7 reveals that the problem is limited to Firefox8, and this is confirmed by one of my fellow admins.

Checked file associations are correct in Firefox. The problem seems to be in parsing the file name.

Any ideas gratefully received.

Rik

PS: you'll find most MP3/MIDI attachments in the Fun & Games boards, most JPG files will be in Hobbies and pasttimes, or Help

Since updating to v8, attachments in the SMF forums I run are not being properly recognised, and (although the file type may be recognised fir, say, a JPEG file) it is offered for saving as index.php. A midi or MP3 attachment will be offered for saving as index.php. Renaming the saved version produces the correct file type. A check in other browsers, and on a machine still running v7 reveals that the problem is limited to Firefox8, and this is confirmed by one of my fellow admins. Checked file associations are correct in Firefox. The problem seems to be in parsing the file name. Any ideas gratefully received. Rik PS: you'll find most MP3/MIDI attachments in the Fun & Games boards, most JPG files will be in Hobbies and pasttimes, or Help

தீர்வு தேர்ந்தெடுக்கப்பட்டது

There is a bug for this:
Bug 685060 simplemachines.org - Cannot download zip file due to broken content-disposition header (due to user-agent sniffing)
"It seems that the developers wrote a patch, applied it at their own site, but then didn't include it in their latest release".

Read this answer in context 👍 2

All Replies (5)

The URL of my forum didn't make it to the post, it's www.idnetters.co.uk. You won't see all boards unless you join. I'd also add that it only seems to affect SMF forums.

A filesize of -1 bytes is really strange. Maybe some broken headers?
Maybe it is related to some changes in the networking module?

  • Double quotes are no longer accepted as a delimiter for RFC 2231 or RFC 5987 encoding, as per those RFCs.
  • MIME header field parser (Content-Disposition) now requires "=" in parameters.

https://developer.mozilla.org/en/Firefox_8_for_developers#Network

Thanks for that, I'll pass it on to my tech admins - I'm purely a 'front of house' type. :)

Rik

தீர்வு தேர்ந்தெடுக்கப்பட்டது

There is a bug for this:
Bug 685060 simplemachines.org - Cannot download zip file due to broken content-disposition header (due to user-agent sniffing)
"It seems that the developers wrote a patch, applied it at their own site, but then didn't include it in their latest release".

You're a genius - many thanks. :) Seems we'll have to wait for the bug fix then.

I really do appreciate your help with this.


Rik