Commit c481dba
committed
bug symfony#52584 [WebProfilerBundle] Fix intercept external redirects (HeahDude)
This PR was squashed before being merged into the 6.3 branch.
Discussion
----------
[WebProfilerBundle] Fix intercept external redirects
| Q | A
| ------------- | ---
| Branch? | 6.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | ~
| License | MIT
When intercepting a redirect to an external host the current output gives:
> This request redirects to **http://current-host.orghttp://target-host.org/**
With this PR, it fixes it too:
> This request redirects to **http://target-host.org/**
We could eventually get rid of the first part of the condition, WDYT?
Commits
-------
4ffadec [WebProfilerBundle] Fix intercept external redirectsFile tree
1 file changed
+2
-2
lines changed- src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments