/usr/share/php/Symfony/Bundle/WebProfilerBundle/Resources/views/Router/panel.html.twig is in php-symfony-web-profiler-bundle 2.7.10-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | <h2>Routing for "{{ request.pathinfo }}"</h2>
<ul>
<li>
<strong>Route: </strong>
{% if request.route %}
{{ request.route }}
{% else %}
<em>No matching route</em>
{% endif %}
</li>
<li>
<strong>Route parameters: </strong>
{% if request.routeParams|length %}
{% include '@WebProfiler/Profiler/table.html.twig' with { 'data': request.routeParams, 'class': 'inline' } only %}
{% else %}
<em>No parameters</em>
{% endif %}
</li>
{% if router.redirect %}
<li>
<strong>Redirecting to: </strong> "{{ router.targetUrl }}" {% if router.targetRoute %}(route: "{{ router.targetRoute }}"){% endif %}
<li>
{% endif %}
<li>
<strong>Route matching logs</strong>
<table class="routing inline">
<tr>
<th>Route name</th>
<th>Pattern</th>
<th>Log</th>
</tr>
{% for trace in traces %}
<tr class="{{ 1 == trace.level ? 'almost' : 2 == trace.level ? 'matches' : '' }}">
<td>{{ trace.name }}</td>
<td>{{ trace.path }}</td>
<td>{{ trace.log }}</td>
</tr>
{% endfor %}
</table>
<em><small>Note: The above matching is based on the configuration for the current router which might differ from
the configuration used while routing this request.</small></em>
</li>
</ul>
|