Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit8199380
committed
bug#50730 [HttpFoundation] Make Request::getPayload() return an empty InputBag if request body is empty (nicolas-grekas)
This PR was merged into the 6.3 branch.Discussion----------[HttpFoundation] Make Request::getPayload() return an empty InputBag if request body is empty| Q | A| ------------- | ---| Branch? | 6.3| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |Fix#50647| License | MIT| Doc PR | -Not calling toArray() because we don't want to call getContent() twice.Commits-------7d9541d [HttpFoundation] Make Request::getPayload() return an empty InputBag if request body is emptyFile tree
2 files changed
+22
-1
lines changed- src/Symfony/Component/HttpFoundation
- Tests
2 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1513 | 1513 | | |
1514 | 1514 | | |
1515 | 1515 | | |
1516 | | - | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
1517 | 1535 | | |
1518 | 1536 | | |
1519 | 1537 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
1312 | 1315 | | |
1313 | 1316 | | |
1314 | 1317 | | |
| |||
0 commit comments
Comments
(0)