Chrome extension save fail
-
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.
-
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.
-
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!
-
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.
-
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.
-
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.
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.