~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
1 year, 4 days ago
Updated
11 months ago
Labels
No labels applied.