Next 13 [Fetching non-iso urls]
See original GitHub issueVerify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Arch: x64 Version: Windows 10 Pro Binaries: Node: 16.17.0 npm: N/A Yarn: N/A pnpm: N/A Relevant packages: next: 13.0.2-canary.2 eslint-config-next: 13.0.1 react: 18.2.0 react-dom: 18.2.0
What browser are you using? (if relevant)
106.0.5249.119 (Official Build) (64-bit) (cohort: Stable)
How are you deploying your application? (if relevant)
No response
Describe the Bug
I think this error is related to the new Router, when prefetching links with Arabic/Persian.
PREFETCH ERROR TypeError: Failed to execute 'fetch' on 'Window': Failed to read the 'headers' property from 'RequestInit': String contains non ISO-8859-1 code point.
Expected Behavior
It should work like in Next 12.
Link to reproduction
https://github.com/asimMoh/non-iso
To Reproduce
add some links with non-iso url
<Link href="/مرحبا">Non ISO</Link>
<Link href="ecodeURIComponent('/مرحبا')">Non ISO</Link>
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Deprecation warning in Moment.js - Not in a recognized ISO ...
I'm getting a warning that a value provided to moment is not in a recognized ISO format. I changed my variable today with...
Read more >Configuration Settings for URLs and Resource Files
You can use configuration settings for generating URLs and resource files. ... Specifies how Presentation Services generates command URLs.
Read more >HTTP authentication does not support non-ISO-8859-1 ...
I was just looking over the code for doing http authentication and I happened to notice that the username and password are being...
Read more >ISO-8601 Week-Based Calendar - Tableau Help
The first three quarters in the ISO-8601 always have 13 weeks in them, with the last Quarter having either 13 or 14 weeks...
Read more >Releases - Internal.io
3) Bug fix: Table Filters don't respect non-ISO timestamps. 4) Feature: PDF Viewer CORS-enabled Public URL support. 5) Feature: Delete Keystroke to Delete ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
think, that problem is hiding here https://github.com/vercel/next.js/blob/canary/packages/next/client/components/app-router.tsx#L68
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.