Project

General

Profile

Bug #17888

rgw:fix for deleting objects name beginning and ending with underscores of one bucket using POST method of js sdk.

Added by ruisong zhou over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

100%

Source:
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

those objects name beginning and ending with underscores can not be deleted using POST method of js sdk

body of http:
<Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Object><Key>_new.txt</Key></Object><Object><Key>_new_again.txt</Key></Object></Delete>


Related issues

Copied to rgw - Backport #18061: jewel: rgw:fix for deleting objects name beginning and ending with underscores of one bucket using POST method of js sdk. Resolved

History

#1 Updated by Orit Wasserman over 7 years ago

  • Backport set to jewel

#2 Updated by Orit Wasserman over 7 years ago

  • Status changed from New to Pending Backport

#3 Updated by Orit Wasserman over 7 years ago

  • Backport changed from jewel to jewel, karken

#4 Updated by Orit Wasserman over 7 years ago

  • Backport changed from jewel, karken to jewel, kraken

#5 Updated by Loïc Dachary over 7 years ago

  • Copied to Backport #18061: jewel: rgw:fix for deleting objects name beginning and ending with underscores of one bucket using POST method of js sdk. added

#6 Updated by Loïc Dachary over 7 years ago

  • Backport changed from jewel, kraken to jewel

#8 Updated by Casey Bodley over 7 years ago

this broke a couple s3tests: s3tests.functional.test_s3.test_versioning_multi_object_delete and test_versioning_multi_object_delete_with_marker

i opened https://github.com/ceph/ceph/pull/12262 to fix, and verified that it also worked with an object named '_key_'

#9 Updated by Casey Bodley over 7 years ago

  • Status changed from Pending Backport to Fix Under Review

#10 Updated by Casey Bodley over 7 years ago

  • Status changed from Fix Under Review to Pending Backport

#11 Updated by Loïc Dachary over 7 years ago

  • Project changed from Ceph to rgw

#12 Updated by Loïc Dachary over 7 years ago

  • Copied to Backport #18061: jewel: rgw:fix for deleting objects name beginning and ending with underscores of one bucket using POST method of js sdk. added

#13 Updated by Yehuda Sadeh almost 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF