- Issue created by @lucasrossi
- 🇧🇷Brazil lbernard07This patch checks if the status code is 503, in case it's true, it will not apply the flags and source directives. 
- last updatealmost 2 years ago 132 pass
- last updatealmost 2 years ago Composer require failure
- last updatealmost 2 years ago 132 pass
- Status changed to RTBCalmost 2 years ago 4:43pm 27 November 2023
- Status changed to Needs workalmost 2 years ago 12:05pm 2 December 2023
- 🇨🇦Canada gappleSince this sounds like an environment-specific issue (limited to a particular response code), I don't think it's something to be solved within CSP module. There's potential for configuring an alternate policy for circumstances like maintenance mode which could have a much shorter and more restrictive policy, but it would need to be configurable since other people's environments and needed policy will differ. The patch provided in #2 would omit things from config like 'self', but still allows other modules to alter the policy, which could potentially block necessary assets.My suggestion would be to implement a custom module with an event subscriber to alter the policy when needed for your environment and the particular response code. 
- Status changed to Closed: works as designedover 1 year ago 9:45am 26 May 2024