Comparing version 2.0.0 to 2.0.1
@@ -135,2 +135,7 @@ /*! | ||
: util.decodeURI(this._url.pathname); | ||
// //a/b/c ==> /a/b/c | ||
path = path === -1 | ||
? path | ||
: path.replace(/^\/{2,}/, '/'); | ||
} | ||
@@ -858,3 +863,3 @@ | ||
} else { | ||
context.redirect(response, context.path + '/'); | ||
context.redirect(response, path); | ||
} | ||
@@ -861,0 +866,0 @@ }); |
{ | ||
"name": "file-send", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A http file send", | ||
@@ -24,4 +24,6 @@ "author": { | ||
"http", | ||
"https", | ||
"server", | ||
"http send", | ||
"https send", | ||
"file send", | ||
@@ -28,0 +30,0 @@ "file stream" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40056
1158
2