Advertisement:

Author Topic: [4825] Firefox 8 beta bug  (Read 47714 times)

Offline wattie

  • Semi-Newbie
  • *
  • Posts: 14
[4825] Firefox 8 beta bug
« on: October 04, 2011, 10:02:17 AM »
In the Firefox 8 beta there is a bug with attachments - they download as "index.php" instead of their original filename. The contents of the downloaded file are the original attachment file. The bug do not exist in other Firefox version or browsers.
« Last Edit: November 11, 2011, 03:21:18 PM by emanuele »

Offline wattie

  • Semi-Newbie
  • *
  • Posts: 14
Re: Firefox 8 beta bug
« Reply #1 on: October 04, 2011, 10:03:14 AM »
P.S. Confirmed on SMF 2.0.1 with different themes, including the default. I cleaned the cache of my browser.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,584
Re: Firefox 8 beta bug
« Reply #2 on: October 04, 2011, 10:12:09 AM »
this was not included in the 2.0.1 upgrade, so it is expected that it would not be fixed.

Offline Tomcraft

  • Jr. Member
  • **
  • Posts: 129
Downloads in forum not working since Firefox 8.0
« Reply #3 on: November 08, 2011, 12:57:18 PM »
Hi there,

users that have recently updated to Firefox 8.0 get all zip-files downloaded as "index.php".

Can someone confirm this?

Regards, Torsten

kat

  • Guest
Re: Downloads in forum not working since Firefox 8.0
« Reply #4 on: November 08, 2011, 01:12:37 PM »
Confirmed.

Firefox is crap. ;)

Right-click>"Save link as" it is, then.


Offline Tomcraft

  • Jr. Member
  • **
  • Posts: 129
Re: Downloads in forum not working since Firefox 8.0
« Reply #6 on: November 08, 2011, 01:27:58 PM »
Always good not to be alone with a problem. :D

Do you think this will be solved in SMF or is this a bug in Firefox 8.0?

Regards, Torsten

kat

  • Guest
Re: Downloads in forum not working since Firefox 8.0
« Reply #7 on: November 08, 2011, 01:28:30 PM »
Added a post, there.

Ta, Shelly!

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,584
Re: Downloads in forum not working since Firefox 8.0
« Reply #8 on: November 08, 2011, 01:33:09 PM »
most likely i think it is an smf issue but may not be fixed until the next security patch is released which may be sometime, unless the devs feel otherwise. there is also possibility that it may not be fixed in the security patch up to the devs either way.

kat

  • Guest
Re: Downloads in forum not working since Firefox 8.0
« Reply #9 on: November 08, 2011, 01:51:55 PM »
I looked at FF's MIME settings, to see if it could be changed.

But, Firefox, being the dog that it is, it seems that you can't, as far as I can see.

Offline Tomcraft

  • Jr. Member
  • **
  • Posts: 129
Re: Downloads in forum not working since Firefox 8.0
« Reply #10 on: November 08, 2011, 05:34:10 PM »
Seems like you already have a solution for this: 0004825: Firefox attachment Content-Disposition bug

Regards, Torsten

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Downloads in forum not working since Firefox 8.0
« Reply #11 on: November 08, 2011, 09:36:09 PM »
Hi there,

users that have recently updated to Firefox 8.0 get all zip-files downloaded as "index.php".

Can someone confirm this?

Regards, Torsten

Not just zip file, also .pdf file.

Maybe all attachment downloads?


Offline live627

  • Development Contributor
  • SMF Hero
  • *
  • Posts: 5,620
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Downloads in forum not working since Firefox 8.0
« Reply #12 on: November 08, 2011, 11:43:29 PM »
Hi there,

users that have recently updated to Firefox 8.0 get all zip-files downloaded as "index.php".

Can someone confirm this?

Regards, Torsten

Not just zip file, also .pdf file.

Maybe all attachment downloads?


Yeah, all of 'em.

I looked at FF's MIME settings, to see if it could be changed.

But, Firefox, being the dog that it is, it seems that you can't, as far as I can see.
WHAT! >:(
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Downloads in forum not working since Firefox 8.0
« Reply #13 on: November 08, 2011, 11:57:12 PM »
Confirmed.

Firefox is crap. ;)

Right-click>"Save link as" it is, then.

What browser do you like to use?

Offline live627

  • Development Contributor
  • SMF Hero
  • *
  • Posts: 5,620
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Downloads in forum not working since Firefox 8.0
« Reply #14 on: November 09, 2011, 12:06:59 AM »
Opera is my guess.
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Downloads in forum not working since Firefox 8.0
« Reply #15 on: November 09, 2011, 12:27:34 AM »
Opera is my guess.

I'm going to guess Safari. ;)

kat

  • Guest
Re: Downloads in forum not working since Firefox 8.0
« Reply #16 on: November 09, 2011, 05:50:18 AM »
Live wins. :)

I got pissed off with Firefox, coz every time there's a damned upgrade, none of the addons worked.

Never had that problem with Opera.

It seems a lot quicker, to me, too.

Offline Tomcraft

  • Jr. Member
  • **
  • Posts: 129
Re: Downloads in forum not working since Firefox 8.0
« Reply #17 on: November 09, 2011, 10:25:49 AM »
I have a solution for both of your problems. ;)

Addons not working anymore: Add-on Compatibility Reporter

Fix download-problem:

Apply patch to "/Sources/Display.php" as the "/Source/Attachment.php" doesn't exist: 0004825: Firefox attachment Content-Disposition bug

Code: (php) [Select]
// Different browsers like different standards...
if ($context['browser']['is_firefox'])
header('Content-Disposition: ' . $disposition . '; filename*="UTF-8\'\'' . preg_replace('~&#(\d{3,8});~e', '$fixchar(\'$1\')', $utf8name) . '"');

Regards, Torsten

Offline Tomcraft

  • Jr. Member
  • **
  • Posts: 129
Re: Downloads in forum not working since Firefox 8.0
« Reply #18 on: November 09, 2011, 06:28:07 PM »
Here is the fix for installation through the package manager.

Regards, Torsten

Offline live627

  • Development Contributor
  • SMF Hero
  • *
  • Posts: 5,620
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Downloads in forum not working since Firefox 8.0
« Reply #19 on: November 09, 2011, 07:09:41 PM »
Quote
I got pissed off with Firefox, coz every time there's a damned upgrade, none of the addons worked.
Ah yes the utter nightmare of using version numbers to determine compatibility... why don't they check for functions? Makes sense considering FF's new release schedule.
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein