Accessing private file with .jpg, .jpeg, .png extension returns WEBP image

Created on 13 September 2022, over 2 years ago
Updated 8 September 2023, over 1 year ago

Problem/Motivation

We are experiencing an issue where we view a private image file within the browser and get a WEBP encoded image rather than the encoding that is specified via the extension within the browser's address bar (e.g., .png, .jpg, .jpeg). This creates mismatched extension to encoding when viewing the file path in the browser and then attempting the save the image, e.g., extension shows .jpeg but the encoding is WEBP.

Proposed resolution

The WEBP file contents should only be returned when .webp is the extension originally requested.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States greenskin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024