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.

Chrome extension save fail

#27

What I did:

tried to save the following image - http://4.bp.blogspot.com/_REjQQ5OAUrM/TTYw1Xm5kzI/AAAAAAAAFEY/pGvGl...

What I expected to happen:

the image to be added to my MLKSHK account

What actually happened:

The pop-up appeared with the image and the existing image name as the title (as expected). When clicking the "Save This" button, received the "oops..." error message.

Reported by cocovan · January 19th, 2011 @ 04:08 AM

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

Activity

  1. Andre Torrez
    Andre Torrez
    • State changed from new to open
    • Assigned user set to Andre Torrez

    I've verified this bug. Not sure what's going on yet, but I can duplicate it.

    January 22nd, 2011 @ 04:13 PM

  2. Andre Torrez
    Andre Torrez

    Figured this out. For some reason the server is not returning the correct content-type (it's blank). There is a way to determine content type after the file is downloaded, so I will leave this open until I can solve it.

    January 22nd, 2011 @ 08:02 PM

  3. cocovan
    cocovan

    Id the content type is not sent back in the headers, would it be enough to guess the mime type based on the file extension as a simple fall back? I know you can have .gif jpegs and visa versa but it might be a simple fall back that would cover 90% of cases (if not more?).

    Of course, all these fancy new sites don't always have file extensions in the file name (like MLKSHK) so this might be completely nonsense and a waste of time so feel free to ignore me!

    January 24th, 2011 @ 06:11 AM

  4. Andre Torrez
    Andre Torrez

    That's one way to do it, but like you said not an ideal fix. What we will do is read the first X bytes and determine the file-type from there (like a graphics program would). It just takes time to program but it's definitely something we have to do.

    January 25th, 2011 @ 12:45 PM

  5. cody
    cody

    I am experiencing this now too in Chrome/XP.

    At this page: http://tywkiwdbi.blogspot.com/2011/01/saguaro-fasciation-white-wing... some images can be saved and others not

    From the top down, first image cannot save, second can, third cannot, fourth can. Possibly unrelated but I noticed the images that do not save have a "+" in the file path as does the OP's image.

    January 31st, 2011 @ 03:04 PM

  6. Andre Torrez
    Andre Torrez

    Hi cody, I think this is a different bug. It's definitely about the + signs. I will create a new bug for yours.

    January 31st, 2011 @ 04:52 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.