~mort/coffeepaste#3: 
Do some basic file inspection to detect .jpg or .png

When #2 is done, it's important that people don't end up with URLs without the appropriate extension. To solve the most common situations where someone would upload binary data without an extension, inspect the first few bytes to detect if the file is a PNG or a JPEG.

Status
RESOLVED FIXED
Submitter
~mort
Assigned to
No-one
Submitted
4 years ago
Updated
4 years ago
Labels
No labels applied.

~mort REPORTED FIXED 4 years ago

Register here or Log in to comment, or comment via email.