Skip to content

Commit

Permalink
Escape database name on data-dictionary url route name
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Dec 29, 2019
1 parent d018fd9 commit 4938c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/database/structure/index.twig
Expand Up @@ -11,7 +11,7 @@
<a href="#" id="printView">
{{ get_icon('b_print', 'Print'|trans, true) }}
</a>
<a href="{{ url('/database/data-dictionary/' ~ database, {'goto': url('/database/structure')}) }}" target="print_view">
<a href="{{ url('/database/data-dictionary/' ~ database|escape('url'), {'goto': url('/database/structure')}) }}" target="print_view">
{{ get_icon('b_tblanalyse', 'Data dictionary'|trans, true) }}
</a>
</p>
Expand Down

0 comments on commit 4938c03

Please sign in to comment.