-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: executed other match group route #9340
Comments
Not a bug. Please check what |
let's you explain what happen whenever i am calling bellow url. here we are devided above url in 3 part
and my routes are there First Group =>
}); when we enter url on addressbar $routes->group('admin/(:any)',function ($routes) { }); then it should be execute 2 group of my route because i am defined route is "/course/inquiry/reminder/list" $routes->group('course/inquiry', function ($routes) { it's executed perfectly but whenever i am committed above route of group which is "$routes->get('list', 'Admin\CourseInquiry::reminderList'); " then it will executed third one routes. $routes->group('reminder', function ($routes) { |
Please use code blocks when you paste code samples, because it's hard to read. In your initial report, you wrote:
The result is correct, because |
PHP Version
8.3
CodeIgniter4 Version
4.5.5
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
No response
What happened?
Call other match ainto Routes
Steps to Reproduce
My Routes are write this kind
My Url is =>http://domain.com/index.php/admin/521d7941a1f28640069792fbb7dedd8e/course/inquiry/reminder/list
if We comment first one route of this route its execute second one Route .
Expected Output
it should be show route not found but its second one route are executed. that route are outside of that group and that route are different and outside side of group. If we want to execute first one route un comment that work perfectly.
Anything else?
No response
The text was updated successfully, but these errors were encountered: