I am using Symfony 2.2.4 and I am desperate to create a URL (with Twig). In fact, I always get the same error when my URL concatenates the dot.
For example: - Route: "my_route" - First parameter: "id" - Second parameter: "title"
In Twig:
{{ path("my_route", {"id" : 1984, "title" : "another...test"}) }}
I get the following error:
An exception was thrown during the rendering of the template ("The title parameter for the route my_route must match [^ /.] ++" ("another ... test") to create the corresponding URL. ") In .. .
I tried with Symfony 2.0.3 and no problem.
Do you have an idea to solve this problem?
Thanks for the help for the help.
Regards
source share