mojira.dev
WEB-6256

Redirects to locale specifiers add an extra slash to the URL

When navigating to a URL without a locale specifier for the language, for example https://www.minecraft.net/article/minecraft-java-edition-1-19-3, you are redirected to https://www.minecraft.net/en-us//article/minecraft-java-edition-1-19-3. Even though the page works as expected, this URL contains an extra slash.

Current behavior:
https://www.minecraft.net/en-us{color:red}/{color}/article/minecraft-java-edition-1-19-3

Expected behavior:
https://www.minecraft.net/en-us{color:black}/{color}article/minecraft-java-edition-1-19-3

Comments 5

I wasn't able to reproduce this; only one slash is added for me. Is this possibly browser-specific? I'm using Firefox 107.0.1 on macOS.

I can still reproduce this. Using Chrome 109 on Windows.

I can no longer reproduce this. Either this is not reliable or it has been fixed.

I am also unable to reproduce this in Chrome 111 or Firefox 110. Even URLs that result in a 404 redirect to en-us correctly.

Note that some of my testing is blocked by WEB-4494, which is itself an unreliable bug.

I can't reproduce this either, using Chrome 110 on Windows.

Misode

(Unassigned)

minecraft.net

Retrieved