Skip to content
Snippets Groups Projects
Commit a8c6c780 authored by Oneric's avatar Oneric
Browse files

StealEmoji: use Content-Type and reject non-images

E.g. *key’s emoji URLs typically don’t have file extensions, but
until now we just slapped ".png" at its end hoping for the best.

Furthermore, this gives us a chance to actually reject non-images,
which before was not feasible exatly due to those extension-less URLs
parent 111cdb0d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment