Issue after updating to 10.0.5 #21199
Unanswered
eliorivero
asked this question in
Help
Replies: 1 comment 6 replies
-
Hi @ijjk since you made the change, maybe you know how this could be solved? Maybe inside a slash-delimited segment, split again by colon? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a URL that in one of the URL segments, has two colons as part of an id that is received from an incoming link. It looks like this:
/some/1234:abc:def/thing
After updating from 10.0.1 to 10.0.5, the colons started being encoded when issuing
push.replace()
.The issue comes from one of the core changes in the release:
Ensure path encoding is handled consistently for prerendered pages: #19135
Specifically, this one:
https://github.com/vercel/next.js/pull/19135/files#diff-29e1b9bc8e17f47fa46cad2f0e0e54d5bbb268adee26051c21d929902a2a5c8cR164-R172
The URLs are now encoded as
/some/1234%3Aabc%3Adef/thing
which is not something I desired to do.
Is there a workaround or option to avoid this?
Beta Was this translation helpful? Give feedback.
All reactions