Kelv b9363494d4
FIX: invalid CSP directive sources should allow site to boot with valid CSP directives (stable) (#31270)
[Security
patch](5558e72f22)
(for this [CVE](https://nvd.nist.gov/vuln/detail/CVE-2024-54133)) from
rails actionpack was backported from [Rails
8.0.0.1](https://github.com/rails/rails/blob/v8.0.1/actionpack/CHANGELOG.md#rails-8001-december-10-2024)
to previous stable versions including `7-1-stable` / `7-2-stable`.

Any previous version of Discourse upgrading to v3.4.0.beta3 and above
would have observed their sites crashing if they had invalid sources in
their CSP directive extensions.

This fix removes such invalid sources during our build of the CSP, and
logs these at a warning level so devs are able to find out why their CSP
sources were filtered out of the extendable directives.
2025-02-11 11:51:01 +08:00
..
2022-04-28 11:51:03 +02:00
2024-08-12 10:41:13 +02:00
2024-11-06 06:27:49 +08:00
2023-02-21 10:30:48 +01:00
2025-02-04 13:51:15 -03:00