Escape database name on data-dictionary url route name

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2019-12-29 15:21:56 +01:00
parent d018fd999a
commit 4938c0345e
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -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>