-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
topic_images api: stop double-encoding params list #2237
Conversation
We added this in 8552518 along with several other correct url encoding changes. Unfortunately, params.toString() already creates a correctly encoded string and encoding it again creates a doubly-encoded garbage url. That means this api hasn't worked at all since Nov-2023; it's been giving 404s. This was just noticed now because one of our playwright tests loaded a product list page that made this request and resulted in a 404 which failed the test.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📦 Next.js Bundle Analysis for @ifixit/commerce-frontendThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR ✌️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR 🌵
We added this in 8552518 along with several other correct url encoding changes.
Unfortunately, params.toString() already creates a correctly encoded string and encoding it again creates a doubly-encoded garbage url. That means this api hasn't worked at all since Nov-2023; it's been giving 404s.
This was just noticed now because one of our playwright tests loaded a product list page that made this request and resulted in a 404 which failed the test.