-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: routingRelated to Astro routing (scope)Related to Astro routing (scope)
Description
Astro Info
Astro v5.16.6
Vite v6.4.1
Node v24.12.0
System macOS (arm64)
Package Manager pnpm
Output static
Adapter none
Integrations @astrojs/solid-js (v5.1.3)
@astrojs/sitemap (v3.6.0)
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When trailingSlash is set to anything other than ignore, query params cause a 404 page in dev mode.
Reproduction steps:
- Set the
basepath in the config - Set
trailingSlashtonever - Navigate to the index page (now at the base path) – works fine
- Add query params to the URL and refresh – results in a 404 error
What's the expected result?
Page loads fine
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: routingRelated to Astro routing (scope)Related to Astro routing (scope)