Project

General

Profile

Actions

Bug #77575

closed
RN

rgw: match CORS rules like Amazon S3

Bug #77575: rgw: match CORS rules like Amazon S3

Added by Ramin Najarbashi 5 months ago. Updated about 1 month ago.

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

0%

Source:
Backport:
squid tentacle umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-314-g2866fcf20c
Released In:
Upkeep Timestamp:
2026-10-21T01:27:04+00:00

Description

RGW only matched CORS rules by origin (host_name_rule), not method/headers. Buckets with multiple CORSRule entries sharing the same AllowedOrigin but different AllowedMethod could fail preflight when a later rule should match.

Fixed in main by PR https://github.com/ceph/ceph/pull/69190 (merged).

Backport to active releases: reef, squid, tentacle.


Related issues 3 (0 open — 3 closed)

Copied to rgw - Backport #77584: tentacle: rgw: match CORS rules like Amazon S3Resolved

Actions
Copied to rgw - Backport #77585: umbrella: rgw: match CORS rules like Amazon S3Resolved

Actions
Copied to rgw - Backport #77586: squid: rgw: match CORS rules like Amazon S3Resolved

Actions

CB Updated by Casey Bodley 5 months ago 1Actions #1

  • Status changed from New to Pending Backport
  • Backport changed from reef, squid, tentacle to squid tentacle umbrella

UB Updated by Upkeep Bot 5 months ago Actions #2

  • Copied to Backport #77584: tentacle: rgw: match CORS rules like Amazon S3 added

UB Updated by Upkeep Bot 5 months ago Actions #3

  • Copied to Backport #77585: umbrella: rgw: match CORS rules like Amazon S3 added

UB Updated by Upkeep Bot 5 months ago Actions #4

  • Copied to Backport #77586: squid: rgw: match CORS rules like Amazon S3 added

UB Updated by Upkeep Bot 5 months ago Actions #5

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 5 months ago Actions #6

  • Merge Commit set to 2866fcf20c7f6b51c9f1be2f9095ef6041063186
  • Fixed In set to v21.3.0-314-g2866fcf20c
  • Upkeep Timestamp set to 2026-06-23T01:21:31+00:00

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-06-23T01:21:31+00:00 to 2026-08-27T18:35:44+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #8

  • Status changed from Backporting to Resolved
  • Upkeep Timestamp changed from 2026-08-27T18:35:44+00:00 to 2026-10-21T01:27:04+00:00
Actions

Also available in: PDF Atom