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
Description
Adding custom function (via tag routing.expression_language_provider) causes fatal error in the routing tab of the profiler: the function does not exist.
If the route does not match, no errors
… profiler routing tab (JakeFr)
This PR was merged into the 4.4 branch.
Discussion
----------
[WebProfilerBundle] Fix error with custom function and web profiler routing tab
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#36985
| License | MIT
| Doc PR | no
Here is a simple solution for #36985 as it only concerns WebProfilerBundle.
Due to the limitation in the routing tab as explained in the footnote, the route in my repo did not match in profiler (no query string in the new context) but there is no more syntax error.
Commits
-------
b35c81b fix error with custom function and web profiler routing tab
Symfony version(s) affected: 5.0.8
Description
Adding custom function (via tag
routing.expression_language_provider
) causes fatal error in the routing tab of the profiler: the function does not exist.If the route does not match, no errors
How to reproduce
https://github.com/JakeFr/function-in-routing
query GET:/api?foo[bar]=baz
and go to the routing tab in profiler
Possible Solution
Related to the AddExpressionLanguageProvidersPass, UrlMatcher and TraceableUrlMatcher but i cant find how to fix
The text was updated successfully, but these errors were encountered: