Socket
Socket
Sign inDemoInstall

rjweb-server

Package Overview
Dependencies
Maintainers
1
Versions
373
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rjweb-server - npm Package Compare versions

Comparing version 9.0.1 to 9.0.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 9.0.2
- Split and trim the proxy header
## 9.0.1

@@ -2,0 +6,0 @@

2

lib/cjs/handlers/http.js

@@ -55,3 +55,3 @@ "use strict";

if (context.ip.isProxied) {
context.ip.value = context.headers.get(context.global.options.proxy.header, context.ip.value);
context.ip.value = context.headers.get(context.global.options.proxy.header, context.ip.value).split(',')[0].trim();
}

@@ -58,0 +58,0 @@ if (context.ip.isProxied && context.global.options.proxy.ips.validate) {

{
"name": "rjweb-server",
"version": "9.0.1",
"version": "9.0.2",
"description": "Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS",

@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js",

@@ -50,3 +50,3 @@ import { parseContent, version } from "../index";

if (context.ip.isProxied) {
context.ip.value = context.headers.get(context.global.options.proxy.header, context.ip.value);
context.ip.value = context.headers.get(context.global.options.proxy.header, context.ip.value).split(',')[0].trim();
}

@@ -53,0 +53,0 @@ if (context.ip.isProxied && context.global.options.proxy.ips.validate) {

{
"name": "rjweb-server",
"version": "9.0.1",
"version": "9.0.2",
"description": "Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS",

@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js",

{
"name": "rjweb-server",
"version": "9.0.1",
"version": "9.0.2",
"description": "Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS",

@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js",

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