Posted on: 09/30/18 11:26PM
"A file is always only going to be one file type. Not a webm, gif, png, bmp, and a jpg please. Fix your code... You are ruining it for everyone."
API does give out the full file name including extension. The "ruining" person probably doesn't even use it (and thus not seeing the message). Like for example Imagus (chrome extension). It does try to guess file extension, making many requests with different file types as it only tries to reconstruct the direct link from page and thumbnail URLs, and they don't have any filetype info.
Redirecting 404 at "/images/*" to a script, that would take md5 out of URL and redirect to proper image path could be a fool-proof solution for all those idiots, so even if you go for "
gelbooru.com//images/0e/a...98b0aa5a8c.derpderp" it would still redirect to "
gelbooru.com//images/0e/a...c1ca98b0aa5a8c.jpeg" and stop the dumb script's guess-work. Or you could just redirect it to a big photo of an asshole with the message, so the "ruining" person, would totally see it.
But as for types I have a question: can't you stick with just one file type (jpg or jpeg) for their names?