Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Firefox Plugin - failure to upload when file extension doesn't correspond to the MIME type

#25

What I did:

What I expected to happen:

The image to be saved under the name I gave it

What actually happened:

"Uh-oh!" - it failed to upload.

Admittedly, this is a corner case. And this forum is constantly annoying for not giving the URL a proper file extension.

But the image' HTTP response issues a proper MIME type - "Content-Type image/jpeg". The upload code should respect that, in theory.

May not be worth fixing.

Reported by Matt Schnitz · January 14th, 2011 @ 11:46 AM

State: resolved
Milestone: none
Assigned to: Andre Torrez Andre Torrez

Activity

  1. Matt Schnitz
    Matt Schnitz
    • Tag changed from firefox win7 mime to firefox, mimetype, win7

    BTW normally, with this forum, a simple workaround is to add a '&f=.jpg' to the end of the URL to fake a file extension for the file parsing code. But Mlkshk is smart enough to parse the URL properly.

    So the workaround here is to save to your local disk, then upload using the webpage.

    January 14th, 2011 @ 11:53 AM

  2. Andre Torrez
    Andre Torrez
    • State changed from new to resolved

    This is fixed.

    January 15th, 2011 @ 09:30 AM

  3. Matt Schnitz
    Matt Schnitz

    I just tried it on this image:

    http://www.unmannedspaceflight.com/index.php?act=attach&type=po...

    after reinstalling the Firefox plugin - another "Uh-oh". :/

    January 15th, 2011 @ 01:04 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.