Skip to content

Website: Stop responding with default MIME type - #1897

Merged
brandonpayton merged 1 commit into
trunkfrom
hosting/let-browsers-guess-unknown-mime-type
Oct 15, 2024
Merged

Website: Stop responding with default MIME type#1897
brandonpayton merged 1 commit into
trunkfrom
hosting/let-browsers-guess-unknown-mime-type

Conversation

@brandonpayton

Copy link
Copy Markdown
Member

Motivation for the change, related issues

Responding with a default MIME type can interfere with more intelligent default handling by web browsers.

Implementation details

Update custom-redirects-lib.php to no longer respond with default MIME type when the type is not known.

Testing Instructions (or ideally a Blueprint)

Tested manually on a stale Playground staging site.

It can interfere with more intelligent default
handling by web browsers.
@brandonpayton brandonpayton added [Type] Bug An existing feature does not function as intended [Aspect] Website labels Oct 15, 2024
@brandonpayton
brandonpayton requested a review from a team October 15, 2024 11:13
@brandonpayton brandonpayton self-assigned this Oct 15, 2024
@brandonpayton
brandonpayton merged commit aa31015 into trunk Oct 15, 2024
@brandonpayton
brandonpayton deleted the hosting/let-browsers-guess-unknown-mime-type branch October 15, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Aspect] Website [Type] Bug An existing feature does not function as intended

1 participant