Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,4 @@ | ||
2015/09/22 Version 1.0.1 | ||
- Use encodeURIComponent when creating links in showdir | ||
2015/09/14 Version 1.0.0 | ||
@@ -8,2 +11,3 @@ - Optional support for weak Etags and weak Etag *comparison*, useful for cases | ||
- Default status pages return html instead of text/plain | ||
- Contributors are listed in CONTRIBUTORS.md, referenced by LICENSE.txt | ||
@@ -10,0 +14,0 @@ 2015/05/22 Version 0.8.0 |
@@ -54,2 +54,2 @@ General format is: contributor, github handle, email. In some cases, the | ||
* Mathias Bynens @mathiasbynens | ||
* Chris Lee @clee <clee@mg8.org> |
@@ -124,3 +124,3 @@ var ecstatic = require('../ecstatic'), | ||
var isDir = file[1].isDirectory && file[1].isDirectory(); | ||
var href = parsed.pathname.replace(/\/$/, '') + '/' + encodeURI(file[0]); | ||
var href = parsed.pathname.replace(/\/$/, '') + '/' + encodeURIComponent(file[0]); | ||
@@ -127,0 +127,0 @@ // append trailing slash and query for dir entry |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple static file server middleware that works with both Express and Flatiron", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/jfhbrook/node-ecstatic", | ||
@@ -8,0 +8,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
235059