You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SSR mode, when I use a markdown file with a Chinese name, for example: 什么场景下选择astro.md, and put the file in the directory pages/blog, the browser opens http://localhost:3000/blog/什么场景下选择astro and tells me that the page cannot be found
What version of
astro
are you using?1.8.0
Are you using an SSR adapter? If so, which one?
@astrojs/node
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
In SSR mode, when I use a markdown file with a Chinese name, for example:
什么场景下选择astro.md
, and put the file in the directorypages/blog
, the browser openshttp://localhost:3000/blog/什么场景下选择astro
and tells me that the page cannot be foundBelow is my configuration:
I found the reason is because the pathname is not decoded when matching the route on the server side
Is there any way to solve this problem?
Link to Minimal Reproducible Example
https://codesandbox.io/s/strange-frost-8jtwmv?file=/package.json
Participation
The text was updated successfully, but these errors were encountered: