Project

General

Profile

Bug #44123

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

Added by joke lee about 2 months ago. Updated about 1 month ago.

Status:
Pending Backport
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:

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

Duplicated by rgw - Bug #43563: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time. Duplicate
Copied to rgw - Backport #44232: nautilus: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time and support some HttpErrorCodeReturnedEquals and HttpRedirectCode limit. New

History

#2 Updated by Eric Ivancich about 1 month ago

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

#3 Updated by Casey Bodley about 1 month ago

  • Duplicated by Bug #43563: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time. added

#4 Updated by Nathan Cutler about 1 month 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

Also available in: Atom PDF