Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connect-modrewrite

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-modrewrite - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

2

package.json
{
"name": "connect-modrewrite",
"main": "./src/modrewrite.js",
"version": "0.3.7",
"version": "0.3.8",
"description": "connect-modrewrite adds modrewrite functionality to connect/express server",

@@ -6,0 +6,0 @@ "author": {

@@ -39,3 +39,3 @@ module.exports = function(rules, normalize) {

// Split URLs for later normalization
var referersSplits = req.headers.referer..split('?')[0].split('/'),
var referersSplits = req.headers.referer.split('?')[0].split('/'),
urlSplits = req.url.substr(1).split('/'); // substr(1) is there because the string begins with /

@@ -42,0 +42,0 @@ // Remove hostname

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