Mojira Archive
MCM-1814

[Minecraft.net] Invalid URL & Product ID in the URL twice

Partner Rank:
N/A

Verification Builds:
N/A

Regression Builds:
Unknown (Minecraft.net)

Summary:
Minecraft.net puts the product ID in the URL twice when navigating to packs from search results.

Affects currently Live Content:
Yes

Impact:

Invalid query string. A URL should never have two `?` symbols, per RFC 3986.

Repro Steps:

  1. Open the Minecraft.net Marketplace page.
  2. Search for something.
  3. Click on a result (key art, not search suggestion).
  4. Observe that the new URL in the address bar contains ?id= twice.

Observed Results:
The ID is injected into the URL twice. This not only looks weird but is also invalid, per RFC 3986.

Here is an example of such a URL:

https://www.minecraft.net/en-us/marketplace/pdp?id=5ee6e4f8-7db7-43a3-bc87-853c7907c8ef?id=5ee6e4f8-7db7-43a3-bc87-853c7907c8ef

Expected Results:
The id query string should only appear once in the URL. If subsequent query string parameters are required, they must start with a &.

Screenshots/Videos attached:

https://capture.dropbox.com/qZv6arXn7VK78sHT 

Notes:

N/A

Unresolved

57Digital

2024-07-31, 12:12 AM

2024-07-31, 12:12 AM

1

1

Future Release

-