8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c87e55 commit 4ffadecCopy full SHA for 4ffadec
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_redirect.html.twig
@@ -39,10 +39,10 @@
39
<div class="block-exception">
40
<h1>Redirection Intercepted</h1>
41
42
- {% set absolute_url = host in location ? location : host ~ location %}
+ {% set absolute_url = absolute_url(location) %}
43
<p>This request redirects to <strong>{{ absolute_url }}</strong></p>
44
45
- <p><a class="btn" href="{{ location }}">Follow redirect</a></p>
+ <p><a class="btn" href="{{ absolute_url }}">Follow redirect</a></p>
46
47
<p class="sf-redirection-help">
48
The redirect was intercepted by the Symfony Web Debug toolbar to help debugging.
0 commit comments