Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit dfa15b4

Browse files
authored
Merge pull request #7191 from magento/feature/fix-nonamespaceschemalocation-declarations-csp-whitelist
Fixed noNamespaceSchemaLocation declarations for csp_whitelist.xsd
2 parents c066e53 + ea5c24c commit dfa15b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guides/v2.3/extension-dev-guide/security/content-security-policies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ adding a `csp_whitelist.xml` to your custom module's `etc` folder.
121121

122122
```xml
123123
<?xml version="1.0"?>
124-
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp/etc/csp_whitelist.xsd">
124+
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
125125
<policies>
126126
<policy id="script-src">
127127
<values>
@@ -206,7 +206,7 @@ Add the corresponding policy to a `csp_whitelist.xml` file:
206206

207207
```xml
208208
<?xml version="1.0"?>
209-
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp/etc/csp_whitelist.xsd">
209+
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
210210
<policies>
211211
<policy id="script-src">
212212
<values>

0 commit comments

Comments
 (0)