Priamo Germosen
792260ed49
fix(s3): apply and check the Object Lock headers of every object creation ( #5828 )
...
CopyObject ignored its Object Lock headers, and CreateMultipartUpload
ignored those and its grant headers, so the copy or the completed upload
came out without the lock or the grants the request asked for. PutObject
read the lock headers without checking them: a malformed retain-until
date was a 500, and a mode without a date, a date without a mode or an
unknown mode was accepted.
PutObject, CopyObject and CreateMultipartUpload now read the lock headers
through one check that refuses them as S3 does, with InvalidArgument
naming the header: a mode and a date come together, checked first, and
the mode is GOVERNANCE or COMPLIANCE. A date that is not an ISO 8601
timestamp is refused the same way. CopyObject applies the settings to the
copy. CreateMultipartUpload keeps them and its grants, and applies them
when the upload completes. Its grants are checked when the upload is
created, under the bucket-owner-enforced rule PutObject uses, so a grant
S3 refuses fails the creation rather than the completion.
Refs #5716
2026-10-16 17:25:57 -05:00
..
2026-10-14 14:06:51 -04:00
2026-10-15 18:02:19 -04:00
2026-10-14 20:57:53 -04:00
2026-10-12 21:19:15 -04:00
2026-10-15 06:50:46 -04:00
2026-10-14 17:38:58 -04:00
2026-09-11 17:55:48 -04:00
2026-08-30 14:40:40 -05:00
2026-10-12 23:52:41 -04:00
2026-09-17 10:54:20 -04:00
2026-10-15 21:07:14 -04:00
2026-10-15 23:14:33 -04:00
2026-09-24 07:04:27 -04:00
2026-05-15 22:55:11 -05:00
2026-09-12 11:31:20 -04:00
2026-10-12 21:38:57 -04:00
2026-10-12 18:14:46 -04:00
2026-09-11 20:36:45 -04:00
2026-09-06 23:54:37 -04:00
2026-09-24 08:20:17 -04:00
2026-10-12 11:28:04 -04:00
2026-10-16 07:07:51 -04:00
2026-10-14 19:25:56 -04:00
2026-08-17 00:00:49 -05:00
2026-09-30 21:45:18 -05:00
2026-09-08 19:38:13 -05:00
2026-09-17 13:53:35 -04:00
2026-10-14 07:02:59 -04:00
2026-10-15 22:14:08 -05:00
2026-05-10 11:53:31 -05:00
2026-05-10 11:53:31 -05:00
2026-08-30 14:44:08 -05:00
2026-10-07 15:54:47 -04:00
2026-10-15 23:38:41 -04:00
2026-09-04 12:16:18 -04:00
2026-08-30 14:44:12 -05:00
2026-09-15 14:48:11 -04:00
2026-08-30 15:15:49 -04:00
2026-09-07 21:49:39 -05:00
2026-09-05 20:19:56 -04:00
2026-05-15 22:55:11 -05:00
2026-09-11 22:30:02 -04:00
2026-09-07 18:31:48 -04:00
2026-09-24 15:08:34 -04:00
2026-10-16 07:34:57 -04:00
2026-08-28 17:55:30 -04:00
2026-10-13 08:07:30 -04:00
2026-10-15 16:39:12 -04:00
2026-10-08 20:11:30 -04:00
2026-10-15 12:01:04 -04:00
2026-09-01 10:00:34 -04:00
2026-10-10 14:54:12 -04:00
2026-06-25 19:16:51 -05:00
2026-10-11 08:53:07 -04:00
2026-10-04 15:29:11 -04:00
2026-10-14 23:13:33 -04:00
2026-09-30 09:11:04 -04:00
2026-10-04 09:52:41 -04:00
2026-10-04 18:03:31 -04:00
2026-10-14 10:04:48 -04:00
2026-08-21 00:09:04 -04:00
2026-09-11 16:53:22 -04:00
2026-09-28 09:26:50 -04:00
2026-10-13 13:17:16 -04:00
2026-10-16 18:23:59 -04:00
2026-09-10 16:34:41 -04:00
2026-10-16 13:40:19 -04:00
2026-09-07 22:54:52 -05:00
2026-10-16 17:25:46 -05:00
2026-09-23 14:05:10 -04:00
2026-09-22 16:16:34 -04:00
2026-10-02 17:09:12 -04:00
2026-09-04 09:14:52 -04:00
2026-08-10 23:10:48 -05:00
2026-10-16 07:10:39 -04:00
2026-10-15 06:57:38 -04:00
2026-07-10 20:43:42 -05:00
2026-09-15 22:27:31 -05:00
2026-09-09 22:22:26 -05:00
2026-10-03 22:04:03 -04:00
2026-07-06 21:02:04 -05:00
2026-10-15 11:06:27 -04:00
2026-10-01 09:11:06 -04:00
2026-09-04 09:45:29 -04:00
2026-08-27 09:23:52 -04:00
2026-09-12 08:59:21 -04:00
2026-10-14 20:34:28 -04:00
2026-09-30 18:12:38 -04:00
2026-09-26 01:08:45 -05:00
2026-05-13 01:34:19 -05:00
2026-10-04 12:19:41 -04:00
2026-10-15 16:49:23 -04:00
2026-10-16 12:03:50 -04:00
2026-10-12 19:46:58 -04:00
2026-10-16 13:40:19 -04:00
2026-10-13 13:12:34 -04:00
2026-10-13 07:50:42 -04:00
2026-09-30 06:10:27 -04:00
2026-09-30 06:10:27 -04:00
2026-10-08 11:39:52 -04:00
2026-10-15 16:44:58 -04:00
2026-08-01 15:28:54 -05:00
2026-10-16 17:25:57 -05:00
2026-08-15 12:48:27 -04:00
2026-08-19 23:17:36 -05:00
2026-09-20 17:56:43 -04:00
2026-10-14 07:47:29 -04:00
2026-10-11 21:47:27 -05:00
2026-09-08 19:40:01 -05:00
2026-08-26 23:04:29 -04:00
2026-10-16 06:59:58 -04:00
2026-10-16 06:46:25 -04:00
2026-10-14 17:32:55 -05:00
2026-10-16 09:39:22 -04:00
2026-10-09 13:11:29 -04:00
2026-09-10 16:34:41 -04:00
2026-09-10 16:34:41 -04:00
2026-09-10 16:34:41 -04:00
2026-10-15 07:03:30 -04:00
2026-10-13 18:31:06 -04:00
2026-10-16 14:01:24 -04:00
2026-09-21 14:11:16 -04:00
2026-09-18 09:09:51 -04:00
2026-05-21 18:20:09 -05:00
2026-10-04 18:19:43 -04:00
2026-09-01 14:47:33 -04:00
2026-09-17 09:16:20 -04:00
2026-10-07 23:47:52 -04:00