Skip to content

Commit 8e61bd6

Browse files
fix: prevent IP check from failing for the proxies including the port in the headers (#601)
1 parent b275dda commit 8e61bd6

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dependencies": {
2727
"@babel/runtime": "7.10.1",
2828
"bluebird": "2.9.25",
29-
"forest-express": "8.7.0",
29+
"forest-express": "8.7.1",
3030
"http-errors": "1.7.2",
3131
"lodash": "4.17.21",
3232
"moment": "2.24.0",

yarn.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4603,10 +4603,10 @@ for-in@^1.0.2:
46034603
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
46044604
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=
46054605

4606-
4607-
version "8.7.0"
4608-
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.7.0.tgz#ec79b43d727f6aebfe52bfb2d4d632972e1417f9"
4609-
integrity sha512-qpgI/Q45MB/Lb9qxRWlc6gLxnLwwfsYl0hrRSnINRuTOwe4cKmy7lTg7fGfiGFvYawiVYzk7C75SRXlbiDynig==
4606+
4607+
version "8.7.1"
4608+
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.7.1.tgz#c7fa7eae3071d12142951a4b6a70d08ae92eba8a"
4609+
integrity sha512-UKAsLliIae9QUTHi5zOmtk1bzg7vHwv/1XDlJe4i7NTpp2EG9q/h5sQmnntA73a6T6U66sWBxWcA7GNoWpweVQ==
46104610
dependencies:
46114611
"@babel/runtime" "7.10.1"
46124612
base32-encode "1.1.1"
@@ -4621,6 +4621,7 @@ [email protected]:
46214621
forest-ip-utils "1.0.1"
46224622
http-errors "1.7.3"
46234623
inflected "2.0.4"
4624+
ip-regex "4.3.0"
46244625
ipaddr.js "2.0.0"
46254626
jsonapi-serializer "3.6.5"
46264627
jsonwebtoken "8.5.1"
@@ -5437,6 +5438,11 @@ ip-address@^5.8.9:
54375438
lodash "^4.17.15"
54385439
sprintf-js "1.1.2"
54395440

5441+
5442+
version "4.3.0"
5443+
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-4.3.0.tgz#687275ab0f57fa76978ff8f4dddc8a23d5990db5"
5444+
integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==
5445+
54405446
ip-regex@^2.1.0:
54415447
version "2.1.0"
54425448
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"

0 commit comments

Comments
 (0)