Commit 19955c5
committed
merged branch jfsimon/issue-7378 (PR #7438)
This PR was merged into the 2.1 branch.
Commits
-------
c928ddc [HttpFoudantion] fixed Request::getPreferredLanguage()
839c78a Revert "merged branch jfsimon/issue-6928 (PR #7378)"
Discussion
----------
[HttpFoundation] fixed Request::getPreferredLanguage()
Previous PR #7378 was wrong and adding BC break. Resolution for short languages codes is now done in `Request::getPreferredLanguage()` method.
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #7378File tree
2 files changed
+23
-15
lines changed- src/Symfony/Component/HttpFoundation
- Tests
2 files changed
+23
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | | - | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
1279 | 1290 | | |
1280 | 1291 | | |
1281 | 1292 | | |
| |||
1309 | 1320 | | |
1310 | 1321 | | |
1311 | 1322 | | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | 1323 | | |
1318 | 1324 | | |
1319 | 1325 | | |
1320 | 1326 | | |
1321 | 1327 | | |
1322 | 1328 | | |
1323 | 1329 | | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
| 1330 | + | |
1327 | 1331 | | |
1328 | 1332 | | |
1329 | 1333 | | |
| |||
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
884 | 892 | | |
885 | 893 | | |
886 | 894 | | |
| |||
951 | 959 | | |
952 | 960 | | |
953 | 961 | | |
954 | | - | |
955 | | - | |
| 962 | + | |
| 963 | + | |
956 | 964 | | |
957 | 965 | | |
958 | 966 | | |
| |||
969 | 977 | | |
970 | 978 | | |
971 | 979 | | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | 980 | | |
977 | 981 | | |
978 | 982 | | |
| |||
0 commit comments