withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.69k stars 2.48k forks source link

Using a space in a file name results in 404 #9945

Closed JojokCreator closed 9 months ago

JojokCreator commented 9 months ago

Astro Info

Astro                    v4.2.6
Node                     v20.10.0
System                   Windows (x64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             @astrojs/tailwind
                         @astrojs/react
                         @astrojs/sitemap
                         astro-icon

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When creating a new Astro page with a space in it the resulting url goes to a 404 page.

What's the expected result?

IT should go to the new page

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-astro-ukeyxn?file=src%2Fpages%2Findex.astro

Participation

ktym4a commented 9 months ago

Maybe fixed in #9934. Can you try with astro@4.3.1?

JojokCreator commented 9 months ago

ahh perfect. It's good now.