Project

General

Profile

Bug #2877

rgw: ETag parsing in complete multipart upload should xml decode ETag

Added by Yehuda Sadeh over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
07/31/2012
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
argonaut
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Should be able to accept both:

<ETag>"7f3d275a68f8a61ca97c0fe8e8feb0fe"</ETag>

and

<ETag>&quot;7f3d275a68f8a61ca97c0fe8e8feb0fe&quot;</ETag>

Associated revisions

Revision 3809e344 (diff)
Added by Yehuda Sadeh over 6 years ago

rgw: ETag is unquoted in multipart upload complete

Fixes #2877.
Removing quotes from ETag before comparing it to what we
have when completing a multipart upload.

Backport: argonaut
Signed-off-by: Yehuda Sadeh <>

Revision a8b224b9 (diff)
Added by Yehuda Sadeh over 6 years ago

rgw: ETag is unquoted in multipart upload complete

Fixes #2877.
Removing quotes from ETag before comparing it to what we
have when completing a multipart upload.

Backport: argonaut
Signed-off-by: Yehuda Sadeh <>

History

#1 Updated by Yehuda Sadeh over 6 years ago

  • Description updated (diff)

#2 Updated by Yehuda Sadeh over 6 years ago

  • Target version set to Ceph - v0.51

#3 Updated by Yehuda Sadeh over 6 years ago

There are two different issues here. The first one is that we don't remove the quotes when comparing the etags. The second is that the parser breaks when using xml escape sequences. This issue is about the first one, for the second one I opened bug #2879.

#4 Updated by Yehuda Sadeh over 6 years ago

  • Status changed from New to Need Review

#5 Updated by Yehuda Sadeh over 6 years ago

  • Status changed from Need Review to Resolved

Fixed, commit:3809e34448e47d7baa02d7a0f9240494aba0e337.

Also available in: Atom PDF