Browse Source

remove form-action csp policy due to chrome breaking redirects

jrivard@gmail.com 6 years ago
parent
commit
6c9ecb2aa5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/src/main/resources/password/pwm/config/PwmSetting.xml

+ 1 - 1
server/src/main/resources/password/pwm/config/PwmSetting.xml

@@ -1635,7 +1635,7 @@
     <setting hidden="false" key="security.cspHeader" level="2">
     <setting hidden="false" key="security.cspHeader" level="2">
         <default>
         <default>
             <!--<value><![CDATA[]]></value>-->
             <!--<value><![CDATA[]]></value>-->
-            <value><![CDATA[default-src 'self'; form-action 'self'; object-src 'none'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ 'self' 'unsafe-eval' 'unsafe-inline' 'nonce-%NONCE%' ; frame-src https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/; report-uri /sspr/public/command/cspReport]]></value>
+            <value><![CDATA[default-src 'self'; object-src 'none'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ 'self' 'unsafe-eval' 'unsafe-inline' 'nonce-%NONCE%' ; frame-src https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/; report-uri /sspr/public/command/cspReport]]></value>
             <!-- 'unsafe-inline' on script-src is included for backward compatibility of CSP Level1 browsers.  CSP2 and future ignore it when the nonce is specified -->
             <!-- 'unsafe-inline' on script-src is included for backward compatibility of CSP Level1 browsers.  CSP2 and future ignore it when the nonce is specified -->
         </default>
         </default>
     </setting>
     </setting>