excon 0.86.0 → 0.87.0
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/lib/excon/utils.rb +2 -1
- data/lib/excon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: feed02c6ed9dea097d1a5ecb76230c1e8269420889ab74f7293eaadbf1016959
|
|
4
|
+
data.tar.gz: 2b2ae40ae73e3966008a2936c2c4eb01ebf2c78d825277737034960d91291bc8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cdbb4ba79d550190977f97a06f991f6da58e3bb42eaf663925e248b4d29aec7191445749c2b041defa9a63fc0f3fd152ee9f24094d15ba3afef9174f15205ad
|
|
7
|
+
data.tar.gz: 5c78f5e0721c6c57ff904e6835db57ddcf5ef08f132957f07af838a3a2bfb30af3793d1775bf1be46dcc2d4f82633687eb639a581b04a5b541297b8d7a158a9e
|
data/lib/excon/utils.rb
CHANGED
|
@@ -131,7 +131,8 @@ module Excon
|
|
|
131
131
|
end
|
|
132
132
|
[values].flatten.each do |value|
|
|
133
133
|
if value.to_s.match(/[\r\n]/)
|
|
134
|
-
|
|
134
|
+
# Don't include the potentially sensitive header value (i.e. authorization token) in the message
|
|
135
|
+
raise Excon::Errors::InvalidHeaderValue.new(key.to_s + ' header value contains forbidden "\r" or "\n"')
|
|
135
136
|
end
|
|
136
137
|
headers_str << key.to_s << ': ' << value.to_s << CR_NL
|
|
137
138
|
end
|
data/lib/excon/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: excon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.87.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- dpiddy (Dan Peterson)
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2021-10-
|
|
13
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|