News for hackers. Stuff that matters.
Re:Chrome still hasn't changed its opinion about dropping JP... by arp242 on Tuesday June 06, 2023 @12:10PM (#36214959)
> many websites still don't support uploading webp files.

On GitHub if you rename your WebP file to "file.webp.png" it will upload just fine, and will use the correct Content-Type header when serving. It's really frustrating a simple \.(png|gif|jpe?g)$ check is preventing the uploading of these files. I found this is actually the case for a number of platforms.

Re:Chrome still hasn't changed its opinion about dropping JP... by bombcar on Tuesday June 06, 2023 @03:27PM (#36217889)
What's fun is when you can upload evilhacker.css.jpg and it correctly handles Content-Type as css and you exploit the tool ;)