testimonials 1.0.0 → 1.0.1
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/app/controllers/testimonials/media_controller.rb +1 -0
- data/lib/testimonials/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b121a26d5f4f69adffa693cf23c0aa979ec14838cc9eba0f7e59e1757756ec10
|
|
4
|
+
data.tar.gz: 6fc46e2f27afe6ef3c1f03f0f85b503ad6c48cb1ed13242e29f8895e304c97c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c89f4dc032ed4e160da979a48b00e13d7aaf16aab3e0ec91fc1c79af6187fbec48761b5e68543ed137a009fa2bb483908a5c042645ca8316f82df2b46481708
|
|
7
|
+
data.tar.gz: '0397570a6e61b4cfa5e1bc788be5c1d667deb47038134d60e5d252bf06479082355ca8c0eb4dc3c6974751c3b9838024e47740e62ba1b2fabfe147ad20e4f340'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1 - 2026-08-11
|
|
4
|
+
|
|
5
|
+
- **Media responses now opt out of MIME sniffing.** Approved, consented media
|
|
6
|
+
keeps its existing authorization, streaming, and private cache behavior while
|
|
7
|
+
adding `X-Content-Type-Options: nosniff`.
|
|
8
|
+
|
|
3
9
|
## 1.0.0 - 2026-08-11
|
|
4
10
|
|
|
5
11
|
- **The 1.x record names are settled.** `Testimonials::Testimonial`,
|
|
@@ -36,6 +36,7 @@ module Testimonials
|
|
|
36
36
|
|
|
37
37
|
def stream(attachment)
|
|
38
38
|
blob = attachment.blob
|
|
39
|
+
response.headers['X-Content-Type-Options'] = 'nosniff'
|
|
39
40
|
response.headers['Cache-Control'] = 'private, no-store'
|
|
40
41
|
if request.headers['Range'].present?
|
|
41
42
|
send_blob_byte_range_data(blob, request.headers['Range'], disposition: disposition)
|
data/lib/testimonials/version.rb
CHANGED