Malformed PDP URLs when using workspace querystring
Store Framework
•
ID: 1281017
Backlog
Published on8/25/2025
•
Last updated on8/25/2025
1 min read
Summary
When using the ?workspace=
querystring on the store URL, PDP navigation breaks because the render-runtime
incorrectly includes the workspace
flag as part of the skuId
query parameter. This replaces &
with ?
, resulting in malformed URLs and preventing PDPs from loading correctly. This does not happens when you choose to open the page on a new tab.
Simulation
- Access a store URL with a workspace querystring, for example:
?workspace=prod
- Hover over a product – the PDP URL preview shows parameters correctly using &.
- Click on the product – the URL replaces & with ?, causing the PDP not to load.
- Console/runtime inspection shows that render-runtime appends the workspace parameter inside the skuId query, corrupting the final URL.
Workaround
No reliable workaround. As a temporary measure, users can open the product in a new tab, which preserves the correct URL, but navigation in the same tab is broken.