Closed
Description
Given the following route :
@route("/foo{bar}", defaults={"bar" = "ok"}, name="test")
And the following twig :
{{ path('test') }}
The excepted result would be : "/foo"
But the result is : "/fo"
I guess symfony remove an imaginary trailing slash or something like that ? Is this behavior excepted ? Is it a bug ? Am i doing something i'm not supposed to with this route ?
<
4DB0
div height="sm" width="150px" class="Box-sc-g0xbh4-0 LoadingSkeleton-sc-695d630a-0 jKxfJf eyUUZI">
Metadata
Metadata
Assignees
Labels
No labels