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 4 months ago. Updated 4 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/14/2016
Due date:
% Done:

100%

Source:
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Release:
Needs Doc:
No

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 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 4 months ago

  • Backport set to jewel

#2 Updated by Orit Wasserman 4 months ago

  • Status changed from New to Pending Backport

#3 Updated by Orit Wasserman 4 months ago

  • Backport changed from jewel to jewel, karken

#4 Updated by Orit Wasserman 4 months ago

  • Backport changed from jewel, karken to jewel, kraken

#5 Updated by Loic Dachary 4 months 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 Loic Dachary 4 months ago

  • Backport changed from jewel, kraken to jewel

#8 Updated by Casey Bodley 4 months 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 4 months ago

  • Status changed from Pending Backport to Need Review

#10 Updated by Casey Bodley 4 months ago

  • Status changed from Need Review to Pending Backport

#11 Updated by Loic Dachary 4 months ago

  • Project changed from Ceph to rgw

#12 Updated by Loic Dachary 4 months 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

Also available in: Atom PDF