timber 2.0.14 → 2.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/timber/util/http_event.rb +1 -1
- data/lib/timber/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb5d7f9bf8255145cfbe6e05c58072f6eb06d1a
|
4
|
+
data.tar.gz: cc7cc1da9a3da82a14077f6ac2d64fff33adf203
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f192dc532458f33e061d2d4912e0507e9f268e15b60693120e40251093e6cb93f7d61bbf34cd5ae03647cd5070979abdefc34eff03237d7f0b129f99ddae3ad7
|
7
|
+
data.tar.gz: b2b7fd1d672662d0a80bb4f72536b39470b6190b8c0bd0a16a37c40cb6ce0b7156eb6d5d23670a1df2c13ce449ed14afaf37aad289dc6e3fd5d2c1e6e238aabe
|
@@ -28,7 +28,7 @@ module Timber
|
|
28
28
|
# Force the header into a valid UTF-8 string, otherwise we will encounter
|
29
29
|
# encoding issues when we convert this data to json. Moreoever, if the
|
30
30
|
# data is already valid UTF-8 we don't pay a penalty.
|
31
|
-
h[k] = Timber::Util::String.normalize_to_utf8(v)
|
31
|
+
h[k] = v && Timber::Util::String.normalize_to_utf8(v)
|
32
32
|
end
|
33
33
|
|
34
34
|
keys_to_sanitize = [AUTHORIZATION_HEADER] + (Config.instance.header_filters || [])
|
data/lib/timber/version.rb
CHANGED