7 ms·
(Offline Gmail team member here) Attachments should work, with a few caveats. Due to some annoying quirks of the HTML5 FileSystem API, there's a whitelist of s
by nex3 15y ago
(Offline Gmail team member here)
Attachments should work, with a few caveats. Due to some annoying quirks of the HTML5 FileSystem API, there's a whitelist of supported file extensions. This includes everything useful we could think of, but it's not exhaustive.
- RyanKearney 15y agoAre screensavers considered useful?
- nex3 15y agoThe specific requirement for being whitelisted is that it shouldn't have a MIME type that Chrome wants to open inline. Give me a list of extensions that you'd like to see supported and I'll see what I can do.
- Natsu 15y agoScreensavers are just special exes on Windows and are commonly used as viruses. Might be better not to whitelist that one and instead convince people to zip them up if they really want to send them. I think that there are a fair number of mail filters that block .scr entirely, anyhow. In that respect, they're similar to .bat, .vbs, .wsh and the like. Alternatively, you can just offer to automatically zip those for the user. Actually, that might be a good idea for all unrecognized files because it avoids a lot of weird problems with funny extensions that are automatically blocked. Feel free to use that idea.
- bdonlan 15y agogmail does not allow executable attachments - even when zipped, it will inspect the inside of the zip file and reject the executable.
- BoppreH 15y agoAs a developer who sometimes have to send a zipped project with a compiled build inside, I find this "feature" extremely annoying. I usually end up renaming the file from .zip to .lol or similar.
- smiler 15y agoSwitch to 7zip. It is more efficient than zip and it passes through Gmail fine and you then don't need to worry about renaming files
- jorangreef 15y agoThanks for commenting here. Would HTML or JS attachments be whitelisted?
- nex3 15y agoNo, since they can be opened inline.
- jorangreef 15y agoIs it wise to pursue a whitelist approach?