connect-modrewrite
Advanced tools
Comparing version 0.3.7 to 0.3.8
{ | ||
"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 |
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
12008