kriasoft / kriasoft/react-firebase-starter
Routes with dots cause 404
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.5k
- Forks
- 752
- PR merge metrics
- No merged PRs in 30d
Description
An example route
{
"path": "/task/:id",
"page": "./task",
"chunk": "main",
"data": {
"task": "GET http://example.com/api/task/id"
}
},
Will take a url /task/1234 and make a request to http://example.com/api/task/1234
But an id with . in it eg /task/123.3 results in a 404 error
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reproducing the documented route with /task/1234 and /task/123.3, then trace the routing and request handling for paths containing dots. Done means dotted IDs resolve like other IDs instead of returning 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100