katalyst-thermite 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd5492d1f74da2d776db367ac73245e513702a79984d1a647de24980f5651b85
|
|
4
|
+
data.tar.gz: f80b31bf6163d498af0e8e9d87a48f44a06ad06ac0efae56dd201f95de18b814
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f6bf03bc5019dae4d03e6c52133254f2247908cf4524f5534764d7a9d57e0b79257e3859d5920dafc3cc02072d4effab335265820a66c2c341fe3de109a1384
|
|
7
|
+
data.tar.gz: 0b6857976c7ad5be39699c08e1182dcfb48f87664beda0d27125dca015fa6cb8aa21130c7b3f4ed8a48810a9156513ea4b45859da9de3fdea727350c6812a4df
|
|
@@ -38,6 +38,10 @@ Rails.application.configure do
|
|
|
38
38
|
# Trix), and https (hotlinking, tracking pixels)
|
|
39
39
|
policy.img_src(:self, :data, :blob, :https)
|
|
40
40
|
|
|
41
|
+
# Same policy as images. Active Storage redirects video/audio attachments
|
|
42
|
+
# to S3, so media-src must not fall back to default-src 'self'
|
|
43
|
+
policy.media_src(:self, :data, :blob, :https)
|
|
44
|
+
|
|
41
45
|
# Block legacy embeds, such as flash
|
|
42
46
|
policy.object_src(:none)
|
|
43
47
|
|