Project

General

Profile

Bug #58245

mgr/dashboard: allow Origin url for CORS if present in config #49329

Added by Avan Thakkar over 1 year ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
General - Back-end
Target version:
-
% Done:

100%

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

Description

By default the browser will not set Access-Control-Allow-Origin header in Request headers. So allow the CORS for the origins which uses browser to access the url and are mentioned in config key cross_origin_url.


Related issues

Copied to Dashboard - Backport #58267: quincy: mgr/dashboard: allow Origin url for CORS if present in config #49329 Resolved
Copied to Dashboard - Backport #58268: pacific: mgr/dashboard: allow Origin url for CORS if present in config #49329 Resolved

History

#1 Updated by Nizamudeen A over 1 year ago

  • Backport changed from quincy to quincy, pacific

#2 Updated by Nizamudeen A over 1 year ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot over 1 year ago

  • Copied to Backport #58267: quincy: mgr/dashboard: allow Origin url for CORS if present in config #49329 added

#4 Updated by Backport Bot over 1 year ago

  • Copied to Backport #58268: pacific: mgr/dashboard: allow Origin url for CORS if present in config #49329 added

#5 Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed

#6 Updated by Konstantin Shalygin 3 months ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF