-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Query params trigger the trailingSlash error in preview mode #8942
Copy link
Copy link
Closed
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
Description
Astro Info
Astro v3.4.0
Node v20.9.0
System Linux (x64)
Package Manager pnpm
Output static
Adapter none
Integrations @astrojs/mdx
@astrojs/solid-js
pagefind
If this issue only occurs in one browser, which browser is a problem?
n/a
Describe the Bug
When navigating to for example http://localhost:4321/search/?q=hask while running astro preview an error is shown:
What's the expected result?
The page should be shown normally
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-rj7etb?file=src%2Flayouts%2FLayout.astro
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
