Values sent by headers in the middleware are not accepting letters with accents #65083
Open
1 task done
Labels
examples
Issue/PR related to examples
Verify canary release
Provide environment information
Which example does this report relate to?
Runtime
What browser are you using? (if relevant)
next dev (local), build and production
How are you deploying your application? (if relevant)
No response
Describe the Bug
Values sent by headers in the middleware are not accepting letters with accents. Example: headers.set(
test
,à preço
);But the get headers show test: 'à preço'
Expected Behavior
Result should be test: "à". In the network headers, but "Ã" appears.
To Reproduce
Use headers.set() in a route in the middleware and check the headers value in the page's network. Ex: headers.set("test", "à") in the network should show test: "à" and not "Ã".
The text was updated successfully, but these errors were encountered: