Socket
Socket
Sign inDemoInstall

express

Package Overview
Dependencies
Maintainers
7
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express - npm Package Compare versions

Comparing version 3.20.0 to 3.20.1

6

History.md

@@ -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 @@ ===================

4

lib/request.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc