Skip to content

Commit

Permalink
Bugfix: Add Afterpay domain to CSP whitelist to fix the clearpay modal (
Browse files Browse the repository at this point in the history
#104)

* Bugfix: Add Afterpay domain to CSP whitelist to fix the clearpay modal

* Add Rvvup Domains to CSP Whitelist
  • Loading branch information
aashwin-rvvup authored Apr 4, 2024
1 parent cfe8a60 commit afe1442
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/csp_whitelist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<policy id="frame-src">
<values>
<value id="rvvup-frame" type="host">*.rvvuptech.com</value>
<value id="rvvup-frame-prod" type="host">*.rvvup.com</value>
<value id="rvvup-afterpay-frame" type="host">*.afterpay.com</value>
<value id="rvvup-clearpay-frame" type="host">*.clearpay.co.uk</value>
<value id="rvvup-paypal-frame" type="host">*.paypal.com</value>
<value id="rvvup-sandbox-paypal-frame" type="host">*.sandbox.paypal.com</value>
Expand All @@ -23,6 +25,7 @@
<values>
<value id="rvvup-afterpay-img" type="host">*.afterpay.com</value>
<value id="rvvup-payment-img" type="host">assets.dev.rvvuptech.com</value>
<value id="rvvup-payment-img" type="host">assets.rvvup.com</value>
<value id="rvvup-paypal-img" type="host">*.paypal.com</value>
<value id="rvvup-sandbox-paypal-img" type="host">*.sandbox.paypal.com</value>
<value id="rvvup-stats-paypal" type="host">*.stats.paypal.com</value>
Expand All @@ -35,6 +38,7 @@
</policy>
<policy id="connect-src">
<values>
<value id="rvvup-afterpay-connect" type="host">*.afterpay.com</value>
<value id="rvvup-paypal-connect" type="host">*.paypal.com</value>
<value id="rvvup-sandbox-paypal-connect" type="host">*.sandbox.paypal.com</value>
</values>
Expand Down

0 comments on commit afe1442

Please sign in to comment.