You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ResolveControllerNameSubscriber is not checking for the _controller request attribute to be a string. If a callable (or a closure) is set, it will raise the following error:
strpos() expects parameter 1 to be string, array given
The text was updated successfully, but these errors were encountered:
…before parsing it (alekitto)
This PR was merged into the 3.3 branch.
Discussion
----------
[FrameworkBundle] check _controller attribute is a string before parsing it
| Q | A
| ------------- | ---
| Branch? | 3.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #23456
| License | MIT
Avoids an error to be raised in case described in issue #23456.
Commits
-------
0b349ae check _controller attribute is a string before parsing it
ResolveControllerNameSubscriber
is not checking for the_controller
request attribute to be a string. If a callable (or a closure) is set, it will raise the following error:The text was updated successfully, but these errors were encountered: