Project

General

Profile

Tasks #918

Bug #908: RGW allows users to create buckets and objects with invalid names

forbid bad bucket names

Added by Colin McCabe over 9 years ago. Updated over 9 years ago.

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

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

Enforce strict bucket name rules in RGW.

Strict rules (culled from libs3, Amazon's documentation, and miscellaneous online discussions):

length between 3 and 63, inclusive
only [a-z][0-9], and the dash character are allowed
Dashes can't be at the end or the beginning.

Also available in: Atom PDF