Skip to content

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Mar 20, 2025

If the target url had duplicate keys in its query params, the redirect url would only contain the key-value pair corresponding to the first occurrence of the key. This is incorrect, as a shop url typically contains multiple attribute values in its query params. The issue was caused by an accidental cast from MultiDict to Dict when handling the query params.

opw-4466925

Forward-Port-Of: #199570

If the target url had duplicate keys in its query params, the redirect url would
only contain the key-value pair corresponding to the first occurrence of the
key. This is incorrect, as a shop url typically contains multiple attribute
values in its query params. The issue was caused by an accidental cast from
MultiDict to Dict when handling the query params.

opw-4466925

X-original-commit: a07a858
@robodoo
Copy link
Contributor

robodoo commented Mar 20, 2025

Pull request status dashboard

@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 20, 2025

This PR targets 17.0 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Mar 20, 2025
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Mar 20, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 20, 2025

@ltinel the next pull request (#202744) is in conflict. You can merge the chain up to here by saying

@robodoo r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@ltinel
Copy link
Contributor

ltinel commented Mar 20, 2025

@robodoo r+

robodoo pushed a commit that referenced this pull request Mar 20, 2025
If the target url had duplicate keys in its query params, the redirect url would
only contain the key-value pair corresponding to the first occurrence of the
key. This is incorrect, as a shop url typically contains multiple attribute
values in its query params. The issue was caused by an accidental cast from
MultiDict to Dict when handling the query params.

opw-4466925

closes #202711

X-original-commit: a07a858
Signed-off-by: Louis Tinel (loti) <loti@odoo.com>
@robodoo robodoo closed this Mar 20, 2025
@fw-bot fw-bot deleted the 17.0-16.0-fix-link-tracker-query-loti-419244-fw branch March 27, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants