Commit 386e238
committed
bug symfony#53195 [HttpKernel] Fix default locale is ignored when
This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead.
Discussion
----------
[HttpKernel] Fix default locale is ignored when `set_locale_from_accept_language` is used
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#53086
| License | MIT
Fix as discussed in symfony#53086
Commits
-------
c626b3a [HttpFoundation][FrameworkBundle] Fix default locale is ignored when set_locale_from_accept_language is usedset_locale_from_accept_language is used (jkobus)File tree
2 files changed
+26
-2
lines changed- src/Symfony/Component/HttpKernel
- EventListener
- Tests/EventListener
2 files changed
+26
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
133 | 155 | | |
134 | 156 | | |
135 | 157 | | |
| |||
0 commit comments