-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Injected endpoints with trailingSlash: 'always' are not accessible #13105
Copy link
Copy link
Closed
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: integration apirelated to the public integration APIs (scope)related to the public integration APIs (scope)feat: routingRelated to Astro routing (scope)Related to Astro routing (scope)
Description
Astro Info
Astro v5.2.1
Node v18.20.3
System Linux (x64)
Package Manager npm
Output server
Adapter none
Integrations test
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I uncovered this bug when using https://inox-tools.fryuni.dev/custom-routing. All endpoints not containing a dot (eg. test.js.ts) when forcing the trailing slash are not accessible.
Notes:
- This bug existed prior to 5.2
- If the endpoint is in
pages, it works fine
What's the expected result?
Those endpoints should be accessible
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: integration apirelated to the public integration APIs (scope)related to the public integration APIs (scope)feat: routingRelated to Astro routing (scope)Related to Astro routing (scope)