Skip to content

Pages route can't start with 404 #14016

Open
@sijad

Description

@sijad

Astro Info

Astro                    v5.10.1
Node                     v20.19.1
System                   Linux (x64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             none

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

No response

Describe the Bug

A page route cannot start with "404", for example, if a route is /404-test, it will trigger the default 404 error page instead.

What's the expected result?

Page routes should be allowed to start with "404".

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-mg6ajpx1?file=src%2Fpages%2F404-test.astro

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions