Skip to content

URLs without locales do not do correct locale fallback #79

@DonalMe

Description

@DonalMe

Summary

We do not include a local in the MDN URLs in the Firefox release notes. The goal is for users in non-en locales following links in the release notes to be correctly redirected to their locale.
This is not working for MDN URLs and leads to a 404 in non-English locales.

URL

Example: https://developer.mozilla.org/docs/Web/API/WebCodecs_API

Reproduction steps

  1. Browse in a non-en locale
  2. Navigate to a MDN URL without a locale (example https://developer.mozilla.org/docs/Web/API/WebCodecs_API)

Expected behavior

There should be a redirect to your locale (example https://developer.mozilla.org/fr/docs/Web/API/WebCodecs_API)

Actual behavior

404 page

Device

Desktop

Browser

Firefox

Browser version

Stable

Operating system

Mac OS

Screenshot

No response

Anything else?

curl --header "Accept-Language: fr,fr-fr,en-us,en" -LIs https://developer.mozilla.org/docs/Web/API/WebCodecs_API | grep HTTP

Validations

Metadata

Metadata

Assignees

Labels

p1We will address this soon and will provide capacity from our team for it in the next few releases.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions