Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space at the end of route in config causes method not allowed #371

Open
DaliborTrampota opened this issue Dec 22, 2023 · 0 comments
Open

Comments

@DaliborTrampota
Copy link

DaliborTrampota commented Dec 22, 2023

This fricking bug cost me my sanity
in routes.ini (or any config with routes) suppose we have this route

POST /admin/backup/run/@action = \controllers\api\Backup->run_action

if there is a trailing space, it throws method not allowed. why is it not being trimmed for god's sake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant