Commit 1ba6fe3
committed
bug symfony#54004 [WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetching (davidgorges)
This PR was merged into the 5.4 branch.
Discussion
----------
[WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetching
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | [symfony/ux#1520](symfony/ux#1520)
| License | MIT
This adds `data-turbo="false"` to the web profiler toolbar html. It [has been added already a while ago](symfony#49226) to the mini-toolbar, and there is already the old `data-no-turbolink` attribute present.
This [fixes an issue](symfony/ux#1520) with prefetching links in Turbo 8, which causes the Ajax pane to behave weirdly and can even cause unwanted logouts (via the logout link inside the security pane).
Commits
-------
9750a6b [WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetchingFile tree
1 file changed
+1
-1
lines changed- src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments