Actions
Bug #64439
open
DP
If-Match Header Not Unquoted On Conditional PutObject
Bug #64439:
If-Match Header Not Unquoted On Conditional PutObject
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Due date:
% Done:
0%
Source:
Community (dev)
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Description
Looks like some codepaths have been missed over the years and the s3tests seem to be supplying an unquoted ETag.
I have a proposed fix on a branch here: https://github.com/dpeckett/ceph/commit/0ae123dafef3274a1f3ab292915554cbe9701ce6
Let me know if anything is missing from the commit, the s3tests probably also need to be corrected.
CB Updated by Casey Bodley almost 3 years ago
thanks for the commit!
looking at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match i do see ETag values in quotes, but the * is not quoted. so i think the comparison against * should happen before rgw_string_unquote()
AM Updated by Ali Maredia almost 3 years ago
- Assignee set to Ali Maredia
CB Updated by Casey Bodley over 2 years ago
- Assignee deleted (
Ali Maredia) - Target version deleted (
v19.0.0)
KB Updated by Kyle Bader 2 months ago
- Related to Bug #80924: rgw: If-Match and If-None-Match match any value that starts with the object's ETag added
Actions