404 error executing more than twice
Open
- Dominant language
- PHP
- Stars
- 1.1k
- Forks
- 236
- PR merge metrics
- No merged PRs in 30d
Description
When i Set 404 error the redirect execure 10 times, I d like to redict to a 404 page instead print
` $router->set404( function () {
});`
even I cannot set an error with user input wrong world for login
`$router->set404('/api(/.*)?', function() {`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the router's set404 entry point and reproduce the redirect behavior described in the issue, including the /api(/.*)? pattern and repeated execution. Determine why the 404 handler runs more than twice and verify that invalid login input reaches a 404 page without repeated redirects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100