vpndetection-rails 2.1.13 → 2.1.14

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: d5b5dd4f28f46063ba1d200d7626ba534b9622e5cb1df00bf3dc15a5284e4ec1
4
- data.tar.gz: 71e4accf5a3fdb50625a8029fed0d90de27476dd997bbf33e36ee05c409d1efe
3
+ metadata.gz: 970a4b9dcb72b24f5cc1834034b25165efce14da9ad1038dbfd4abee7c863a5a
4
+ data.tar.gz: 796d47a5136d16215f23be67af07a2b118a077a1b2134c4407b3a0e4d3f6f283
5
5
  SHA512:
6
- metadata.gz: 613a4cd2c90b3d6e7a17d438f0a5e3f6550ae7f15e4a762d8d91a86bcf5ad2b224d78c12e42def5be01ae63244b3bc00ddcc5c8681c0340f589234ccbb39187a
7
- data.tar.gz: 1b899f6b0b718e740ae9bfc7310e071ae07ab5de8a00fb4a4760eedcb573f20854199fb28de4bafb88c3bdeb646fa4ba89eec78c6d60b1e55cc9bd5d3519e88f
6
+ metadata.gz: 62dd76f794636aecb926ba35107ea8c98f31b150d2015aab477a68624089764233458c956a21da5788d79adb4d38d89681fa5b90bd9c9163841724152c2ea086
7
+ data.tar.gz: f7ddb60277521f24d4a34460cb83858b43e27af981db79e9d95ab37d997430d7d619943b60aece6cc7a07b0300c3a120b713b279cddb2cfde243426931c4c628
data/README.md CHANGED
@@ -86,7 +86,7 @@ ip_selector: VPNDetection::Rails.header_ip_selector("CF-Connecting-IP")
86
86
  Rack::Request.forwarded_priority = [:x_forwarded]
87
87
  ```
88
88
 
89
- The middleware warns once when a request through a proxy carries both headers.
89
+ The middleware warns once when a request through a proxy carries both headers. From Rails 8.1.4.1, `RemoteIp` itself refuses a request whose `Forwarded` and `X-Forwarded-For` name different visitors, raising `ActionDispatch::RemoteIp::IpSpoofAttackError`, a 400, and the middleware leaves that to Rails, as your own `remote_ip` call would.
90
90
 
91
91
  If the address resolves to a private one, the middleware says so once. That is expected locally and is the signal to fix your configuration anywhere else.
92
92
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module VPNDetection
4
4
  module Rails
5
- VERSION = '2.1.13'
5
+ VERSION = '2.1.14'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpndetection-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.13
4
+ version: 2.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev
@@ -29,7 +29,7 @@ dependencies:
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 5.11.4
32
+ version: 5.12.0
33
33
  - - "<"
34
34
  - !ruby/object:Gem::Version
35
35
  version: '6'
@@ -39,7 +39,7 @@ dependencies:
39
39
  requirements:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 5.11.4
42
+ version: 5.12.0
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
45
  version: '6'