Created
June 25, 2020 00:49
-
-
Save r-martins/403115ef92633701e46cd69855acf160 to your computer and use it in GitHub Desktop.
Whitelist CSP PagSeguro Domains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd"> | |
<policies> | |
<policy id="script-src"> | |
<values> | |
<value id="pagseguro-static" type="host">https://stc.pagseguro.uol.com.br</value> | |
<value id="pagseguro-static-sandbox" type="host">https://sandbox.stc.pagseguro.uol.com.br</value> | |
</values> | |
</policy> | |
<policy id="frame-src"> | |
<values> | |
<value id="pagseguro-main" type="host">https://pagseguro.uol.com.br</value> | |
<value id="pagseguro-main-sandbox" type="host">https://sandbox.pagseguro.uol.com.br</value> | |
</values> | |
</policy> | |
<policy id="img-src"> | |
<values> | |
<value id="pagseguro-images" type="host">https://pagseguro.uol.com.br</value> | |
<value id="pagseguro-images-sandbox" type="host">https://sandbox.pagseguro.uol.com.br</value> | |
<value id="pagseguro-static" type="host">https://stc.pagseguro.uol.com.br</value> | |
<value id="pagseguro-static-sandbox" type="host">https://sandbox.stc.pagseguro.uol.com.br</value> | |
</values> | |
</policy> | |
</policies> | |
</csp_whitelist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment