bugfix/583-fix_list_buckets_vhs_and_fix_bucket_name_conflicts_error_support_v31.0 #584

4 commits

Author SHA1 Message Date
e721ac82f7 Release v0.31.3
All checks were successful
/ DCO (pull_request) Successful in 3m56s
/ Vulncheck (pull_request) Successful in 8m38s
/ Builds (pull_request) Successful in 4m30s
/ Lint (pull_request) Successful in 11m1s
/ Tests (pull_request) Successful in 4m34s
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
2024-12-17 13:02:32 +03:00
fbdd83e574 [#586] Skip port when matching listen domains
We may have a situation where the domain
can be specified in the config without a
port, and the host in the header will be
with a port. As a result, the host will
not match. Now the port is not taken into
account when checking for a match.

Signed-off-by: Roman Loginov <r.loginov@yadro.com>
2024-12-17 13:02:32 +03:00
a990fb13d1 [#583] Fix list-buckets vhs routing
The problem is that with VHS requests,
the list-buckets operation does not work
because the request is filtered on
list-objects-v1. Since list-buckets can
also have query parameters, in the end it
is necessary to distinguish list-buckets
from list-objects-v1 only by the presence
of the bucket name in the URL (provided
that the request is in VHS style).

Signed-off-by: Roman Loginov <r.loginov@yadro.com>
2024-12-17 13:02:28 +03:00
c1f3110dcc [#584] Return BucketAlreadyExists when global domain taken
A situation may occur when the global
domain is already occupied when
creating the container. The error
comes from the nns smart contract.
This error actually means that the
bucket has already been created.

Signed-off-by: Roman Loginov <r.loginov@yadro.com>
2024-12-16 17:06:43 +03:00