Skip to content

Issue2230 configurable cors headers#2253

Merged
otsakir merged 8 commits intomasterfrom
issue2230_configurable_CORS_headers
Jun 30, 2017
Merged

Issue2230 configurable cors headers#2253
otsakir merged 8 commits intomasterfrom
issue2230_configurable_CORS_headers

Conversation

@otsakir
Copy link
Copy Markdown
Contributor

@otsakir otsakir commented Jun 20, 2017

Contains the following:

  • New response filter that selectively adds CORS (Access-Control-*) headers
  • Refactored restcomm.xml/rcmlserver configuration section
  • automated tests that check the existense of the CORS headers
  • New (not-authenticated) OPTIONS method for Accounts endpoint

The addition of the headers affects all requests in case the 'Origin' request header is present and matches configuration. However, the OPTIONS method is only added to the Accounts endpoint that is used by RVD. Maybe it makes sense to add OPTIONS method globally or handle it somehow centrally. I think this involves more analysis and is part of another issue/task.

@otsakir otsakir requested review from gvagenas and maria-farooq June 20, 2017 08:08
@deruelle deruelle added this to the George 8.2.0 Sprint 5 milestone Jun 21, 2017
@deruelle deruelle requested review from leftyb and removed request for gvagenas and maria-farooq June 29, 2017 08:34
@deruelle deruelle assigned leftyb and unassigned gvagenas and maria-farooq Jun 29, 2017
@otsakir otsakir merged commit 0db6385 into master Jun 30, 2017
otsakir pushed a commit that referenced this pull request Jun 30, 2017
@jaimecasero jaimecasero deleted the issue2230_configurable_CORS_headers branch November 21, 2017 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants