Project

General

Profile

Actions

Bug #64439

open
DP

If-Match Header Not Unquoted On Conditional PutObject

Bug #64439: If-Match Header Not Unquoted On Conditional PutObject

Added by Damian Peckett almost 3 years ago. Updated over 2 years ago.

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.


Related issues 1 (1 open — 0 closed)

Related to rgw - Bug #80924: rgw: If-Match and If-None-Match match any value that starts with the object's ETagFix Under ReviewKyle Bader

Actions

CB Updated by Casey Bodley almost 3 years ago Actions #1

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 Actions #2

  • Assignee set to Ali Maredia

CB Updated by Casey Bodley over 2 years ago Actions #3

  • Assignee deleted (Ali Maredia)
  • Target version deleted (v19.0.0)

KB Updated by Kyle Bader 2 months ago Actions #4

  • Related to Bug #80924: rgw: If-Match and If-None-Match match any value that starts with the object's ETag added
Actions

Also available in: PDF Atom