Comparing version 3.20.0 to 3.20.1
@@ -0,1 +1,7 @@ | ||
3.20.1 / 2015-02-28 | ||
=================== | ||
* Fix `req.host` when using "trust proxy" hops count | ||
* Fix `req.protocol`/`req.secure` when using "trust proxy" hops count | ||
3.20.0 / 2015-02-18 | ||
@@ -2,0 +8,0 @@ =================== |
@@ -361,3 +361,3 @@ | ||
if (!trust(this.connection.remoteAddress)) { | ||
if (!trust(this.connection.remoteAddress, 0)) { | ||
return proto; | ||
@@ -495,3 +495,3 @@ } | ||
if (!host || !trust(this.connection.remoteAddress)) { | ||
if (!host || !trust(this.connection.remoteAddress, 0)) { | ||
host = this.get('Host'); | ||
@@ -498,0 +498,0 @@ } |
{ | ||
"name": "express", | ||
"description": "Sinatra inspired web development framework", | ||
"version": "3.20.0", | ||
"version": "3.20.1", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -53,9 +53,8 @@ "contributors": [ | ||
"connect-redis": "~1.5.0", | ||
"ejs": "2.1.4", | ||
"istanbul": "0.3.5", | ||
"ejs": "2.3.1", | ||
"istanbul": "0.3.6", | ||
"marked": "0.3.3", | ||
"mocha": "~2.1.0", | ||
"should": "~5.0.0", | ||
"supertest": "~0.15.0", | ||
"hjs": "~0.0.6" | ||
"supertest": "~0.15.0" | ||
}, | ||
@@ -62,0 +61,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147382
7