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 4 years ago. Updated almost 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

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. Resolved

History

#2 Updated by J. Eric Ivancich about 4 years ago

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

#3 Updated by Casey Bodley about 4 years ago

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

#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

#5 Updated by Nathan Cutler almost 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".

Also available in: Atom PDF