handle_invalid_percent_encoding_requests 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d1c2fc0a8379091dd76dfe1081b449ae2863e185
4
- data.tar.gz: bbb2b4b5a6e82bd2d633a3be54c10186b790469e
2
+ SHA256:
3
+ metadata.gz: 55d974e3fa4170de9c984b121d1e51f2c044206745fee018792503f0f0a14731
4
+ data.tar.gz: e90ccf94c95c2dda14a2e0702d14fe3c61c1956cf09f3b7251d77145247343b4
5
5
  SHA512:
6
- metadata.gz: 82e9afd76efb3e504c92351f99a6e1878c4434c9af3503dc0be5a6e464ffb3dc63d2fa02021501d6d2727ade561de082f82818a1c4fdf7dba1b2fe1f3802f6b5
7
- data.tar.gz: 3eba4ad39247fb19c886062b7cb9a87395c566540548b82b1a8823967393e955803843f4ae89e8e81d43e40bcb4286c53690258dd0581809080e113cf097e562
6
+ metadata.gz: b3ca91d7033ad2490901c33446e5457fd7c27920187efd241677e1478715e3e7fd3c3ce9c0c9817d9087604f94b4dec9335877e00e300920e4c6f2c1ef114304
7
+ data.tar.gz: 153849e5a033d14ecac4afc94fcff4d6b90094acad14246c17a2a143d35d01d51f0872070791c20ef98f5965106cf7559130c199054775c9d7d33f718343e9ac
@@ -42,7 +42,7 @@ module HandleInvalidPercentEncodingRequests
42
42
 
43
43
  rescue InvalidPercentEncodingErrorMatcher,
44
44
  InvalidByteSequenceErrorMatcher,
45
- NullByteErrorMatcher
45
+ NullByteErrorMatcher => e
46
46
 
47
47
  @logger.info "Bad request. Returning 400 due to #{e.class.name} " \
48
48
  "#{e.message.inspect} from request with env " \
@@ -1,4 +1,4 @@
1
1
  # Uses Semantic Versionning
2
2
  module HandleInvalidPercentEncodingRequests
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handle_invalid_percent_encoding_requests
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunny Ripert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-01 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -85,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubyforge_project:
89
- rubygems_version: 2.5.2.3
88
+ rubygems_version: 3.1.6
90
89
  signing_key:
91
90
  specification_version: 4
92
91
  summary: Handle invalid percent in encoding from requests in Rails