Project

General

Profile

Actions

Bug #46810

closed

rgw: create bucket via swift return 403

Added by lei cao almost 4 years ago. Updated over 3 years ago.

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

0%

Source:
Tags:
swift multisite
Backport:
nautilus octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When i tried to create a swift bucket which name contains symbols, such as "?", it's allowed to swift bucket name constraints. But it return "403 Signature doesn't match" in slave zonegroup while return "201 Created" in master zonegroup.
Then, i find forward request process in slave zonegroup does not URL encode the bucket name. Obviously, this is unreasonable, i modified this part of code.


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #47412: octopus: rgw: create bucket via swift return 403 ResolvedNathan CutlerActions
Copied to rgw - Backport #47413: nautilus: rgw: create bucket via swift return 403 ResolvedWei-Chung ChengActions
Actions

Also available in: Atom PDF