Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Update CSP handler to only query and modify frame ancestors instead of all CSP directives #6463

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 36c25ae from #6398.

…f all CSP directives (#6398)

* only allow updating frame ancestors

Signed-off-by: Tianle Huang <[email protected]>

* refactor

Signed-off-by: Tianle Huang <[email protected]>

* add test

Signed-off-by: Tianle Huang <[email protected]>

* fix link

Signed-off-by: Tianle Huang <[email protected]>

* update key

Signed-off-by: Tianle Huang <[email protected]>

* rename

Signed-off-by: Tianle Huang <[email protected]>

* update unit tests

Signed-off-by: Tianle Huang <[email protected]>

* update tests

Signed-off-by: Tianle Huang <[email protected]>

* add change log

Signed-off-by: Tianle Huang <[email protected]>

* undo yml

Signed-off-by: Tianle Huang <[email protected]>

* update readme and variable

Signed-off-by: Tianle Huang <[email protected]>

* fix link

Signed-off-by: Tianle Huang <[email protected]>

* make code generic

Signed-off-by: Tianle Huang <[email protected]>

* revert yml

Signed-off-by: Tianle Huang <[email protected]>

* add more tests

Signed-off-by: Tianle Huang <[email protected]>

* update key name

Signed-off-by: Tianle Huang <[email protected]>

* reword change title

Signed-off-by: Tianle Huang <[email protected]>

* fix typo

Signed-off-by: Tianle Huang <[email protected]>

---------

Signed-off-by: Tianle Huang <[email protected]>
(cherry picked from commit 36c25ae)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@tianleh
Copy link
Member

tianleh commented Apr 15, 2024

@ZilongX @zhongnansu

@ZilongX ZilongX merged commit 694bcba into 2.x Apr 16, 2024
86 of 87 checks passed
@ZilongX ZilongX deleted the backport/backport-6398-to-2.x branch April 16, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports repeat-contributor v2.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants