Project

General

Profile

Actions

Bug #44123

closed

rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time and support some HttpErrorCodeReturnedEquals and HttpRedirectCode limit.

Added by joke lee over 4 years ago. Updated about 4 years ago.

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

0%

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

Description

in

https://docs.aws.amazon.com/AmazonS3/latest/API/API_Redirect.html#AmazonS3-Type-Redirect-ReplaceKeyPrefixWith

ReplaceKeyPrefixWith
The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.

Type: String

Required: No

ReplaceKeyWith
The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the siblings is present. Can be present only if ReplaceKeyPrefixWith is not provided.

Type: String

Required: No


Related issues 2 (0 open2 closed)

Has duplicate rgw - Bug #43563: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time.Duplicate

Actions
Copied to rgw - Backport #44232: nautilus: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time and support some HttpErrorCodeReturnedEquals and HttpRedirectCode limit.ResolvedNathan CutlerActions
Actions #2

Updated by J. Eric Ivancich about 4 years ago

  • Status changed from New to Pending Backport
  • Assignee set to joke lee
Actions #3

Updated by Casey Bodley about 4 years ago

  • Has duplicate Bug #43563: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time. added
Actions #4

Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #44232: nautilus: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time and support some HttpErrorCodeReturnedEquals and HttpRedirectCode limit. added
Actions #5

Updated by Nathan Cutler about 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF