Project

General

Profile

Bug #19066

rgw_file: ensure valid_s3_object_name for directories

Added by Matt Benjamin 7 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/23/2017
Due date:
% Done:

0%

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

Description

The logic in RGWLibFS::mkdir() validated bucket names, but not
object names (though RGWLibFS::create() did so).

The negative side effect of this was not creating illegal objects
(we won't), but in a) failing with -EIO and b) more importantly,
not removing up the proposed object from FHCache, which produced a
boost assert when recycled.


Related issues

Copied to rgw - Backport #19115: jewel: rgw_file: ensure valid_s3_object_name for directories Resolved
Copied to rgw - Backport #19149: kraken: rgw_file: ensure valid_s3_object_name for directories Resolved

History

#1 Updated by Matt Benjamin 7 months ago

  • Status changed from In Progress to Pending Backport

#2 Updated by Alexey Sheplyakov 7 months ago

  • Copied to Backport #19115: jewel: rgw_file: ensure valid_s3_object_name for directories added

#3 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #19149: kraken: rgw_file: ensure valid_s3_object_name for directories added

#4 Updated by Nathan Cutler about 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF