3 ms·
> if your program accepts file uploads it should convey them byte-for-byte to recipients, good lord You'd be surprised how few apps abide by this simple and re
by sneak 6y ago
> if your program accepts file uploads it should convey them byte-for-byte to recipients, good lord
You'd be surprised how few apps abide by this simple and reasonable rule.
My own Mattermost instance refused to allow me to upload an image to my own machine the other day because the long edge was 9000 pixels. "Too high res for your own hard drive" was a new one for me.
- pavel_lishin 6y ago> if your program accepts file uploads it should convey them byte-for-byte to recipients, good lord There are several good reasons not to do this; stripping EXIF data from uploaded images is a good one.
- NullPrefix 6y agoThere's nothing wrong about stripping EXIF data, but you need to be upfront about this.