Skip to content

fix: replace new Function to avoid CSP unsafe eval error#1336

Open
surekhaw wants to merge 2 commits into
paypal:developfrom
surekhaw:fix-ios-unsafe-eval
Open

fix: replace new Function to avoid CSP unsafe eval error#1336
surekhaw wants to merge 2 commits into
paypal:developfrom
surekhaw:fix-ios-unsafe-eval

Conversation

@surekhaw

Copy link
Copy Markdown
Contributor

Description

CSP blocks script-src 'unsafe-eval' on iOS / WebKit
removes new Function so script-src stays 'unsafe-eval' free

Screenshots / Videos

N/A

Testing instructions

N/A

Review

The expected SLA for reviews in this repo is days.

All pull requests require an initial review from your team followed by code owner approval.

While initial review is ongoing, please add the following label to your PR Needs initial review. This initial review process should ensure that:

  • Code follows team standards and best practices
  • Changes are thoroughly tested and verified
  • The PR template is filled out
  • Documentation is complete and accurate
  • The PR is ready for official code owner review

Once you have received initial approval, please do the following:

  • Remove the label Needs initial review
  • Add the label Needs codeowner review

Code owners will then review the PR in accordance with our SLA. This process helps maintain code quality and reduces review cycles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant