Commit 4bb4947
committed
rgw/auth/s3: validate x-amz-content-sha256 for empty payloads
when is_v4_payload_empty(), we return a null completer so never try to
validate the x-amz-content-sha256 for signed payloads. add this
checksum comparison to get_auth_data_v4() before we create the completer
Signed-off-by: Casey Bodley <[email protected]>1 parent d7e2a32 commit 4bb4947
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5805 | 5805 | | |
5806 | 5806 | | |
5807 | 5807 | | |
| 5808 | + | |
| 5809 | + | |
| 5810 | + | |
| 5811 | + | |
| 5812 | + | |
| 5813 | + | |
| 5814 | + | |
| 5815 | + | |
| 5816 | + | |
| 5817 | + | |
| 5818 | + | |
| 5819 | + | |
| 5820 | + | |
5808 | 5821 | | |
5809 | 5822 | | |
5810 | 5823 | | |
| |||
0 commit comments