Explicitly deny buckets with "." (dot) symbol #506

Closed
opened 2024-09-30 14:42:58 +00:00 by alexvanin · 0 comments
Owner

With latest frostfs-contract it might be possible that container creation function will support dot symbols in a name. Previously it was not possible due to subdomain registration process in NNS contract.

While dot symbols are allowed in S3 specification, we've never created buckets with it, so it can break a few things including VHS. Also, some bucket name patterns with dots are still restricted, e.g. ip-address pattern.

Describe the solution you'd like

We must add dot symbol support very carefully. First step is to explicitly deny buckets with dots instead of implicit deny from NNS contract.

Then test carefully all corner cases and fix VHS and other functions if necessary. Then, enable dot symbol support.

## Is your feature request related to a problem? Please describe. With latest frostfs-contract it might be possible that container creation function will support dot symbols in a name. Previously it was not possible due to subdomain registration process in NNS contract. While dot symbols are allowed in S3 specification, we've never created buckets with it, so it can break a few things including VHS. Also, some bucket name patterns with dots are still restricted, e.g. ip-address pattern. ## Describe the solution you'd like We must add dot symbol support very carefully. First step is to explicitly deny buckets with dots instead of implicit deny from NNS contract. Then test carefully all corner cases and fix VHS and other functions if necessary. Then, enable dot symbol support.
alexvanin added this to the v0.31.0 milestone 2024-09-30 14:42:58 +00:00
mbiryukova self-assigned this 2024-10-08 07:42:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#506
No description provided.