Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass values to CSP frame_ancestors as individual arguments (#1929)
* Pass values to CSP frame_ancestors as individual arguments Rails core has patched a CVE preventing passing a string with whitespace as an argument. rails/rails@3da2479 This patch passes the arguments individually instead which achieves the same result whilst meeting the new requirements. * Reimplement frame_ancestors proc to fix tests @sle-c has pointed out that the tests rely on the proc and suggests reimplemeting the proc and returning an array. This patch implements the recommendation and achieves the same result.
- Loading branch information