Closed
Description
PHP Version
8.1
CodeIgniter4 Version
4.5.2
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter
)
Which operating systems have you tested for this bug?
macOS
Which server did you use?
cli-server (PHP built-in webserver)
Database
No response
What happened?
A route definition containing nested group() statements with filters having the same name doesn't execute all the filters before executing the Controller method.
Steps to Reproduce
Please see https://github.com/tangix/ci45-nested-groups for a complete example.
Check the README.md file for instructions.
Expected Output
If the same filter is defined with different arguments (after the :
character) the filter should be executed multiple times with the different arguments passed or at least have the multiple arguments passed as an array.
Anything else?
No response