Skip to content

Commit 92852f7

Browse files
fix: prevent IP check from failing for the proxies including the port in the headers (#751)
1 parent 16be0d5 commit 92852f7

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
@@ -27,7 +27,7 @@
2727
"@babel/runtime": "7.10.1",
2828
"bluebird": "2.9.25",
2929
"core-js": "3.6.5",
30-
"forest-express": "8.7.0",
30+
"forest-express": "8.7.1",
3131
"http-errors": "1.6.1",
3232
"lodash": "4.17.21",
3333
"moment": "2.19.4",

yarn.lock

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

4911-
4912-
version "8.7.0"
4913-
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.7.0.tgz#ec79b43d727f6aebfe52bfb2d4d632972e1417f9"
4914-
integrity sha512-qpgI/Q45MB/Lb9qxRWlc6gLxnLwwfsYl0hrRSnINRuTOwe4cKmy7lTg7fGfiGFvYawiVYzk7C75SRXlbiDynig==
4911+
4912+
version "8.7.1"
4913+
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.7.1.tgz#c7fa7eae3071d12142951a4b6a70d08ae92eba8a"
4914+
integrity sha512-UKAsLliIae9QUTHi5zOmtk1bzg7vHwv/1XDlJe4i7NTpp2EG9q/h5sQmnntA73a6T6U66sWBxWcA7GNoWpweVQ==
49154915
dependencies:
49164916
"@babel/runtime" "7.10.1"
49174917
base32-encode "1.1.1"
@@ -4926,6 +4926,7 @@ [email protected]:
49264926
forest-ip-utils "1.0.1"
49274927
http-errors "1.7.3"
49284928
inflected "2.0.4"
4929+
ip-regex "4.3.0"
49294930
ipaddr.js "2.0.0"
49304931
jsonapi-serializer "3.6.5"
49314932
jsonwebtoken "8.5.1"
@@ -5811,6 +5812,11 @@ ip-address@^5.8.9:
58115812
lodash "^4.17.15"
58125813
sprintf-js "1.1.2"
58135814

5815+
5816+
version "4.3.0"
5817+
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-4.3.0.tgz#687275ab0f57fa76978ff8f4dddc8a23d5990db5"
5818+
integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==
5819+
58145820
ip-regex@^2.1.0:
58155821
version "2.1.0"
58165822
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"

0 commit comments

Comments
 (0)