Comparing version 1.10.3 to 1.10.4
@@ -10,2 +10,3 @@ | ||
var HtmlApps = require("./html"); | ||
var Deprecate = require("../deprecate"); | ||
@@ -56,3 +57,8 @@ /** | ||
return Q.when(fs.canonical(path), function (canonical) { | ||
if (!fs.contains(root, canonical) && !options.followInsecureSymlinks) | ||
//TODO remove for 2.0.0 | ||
if (options.followInsecureSymlinks) { | ||
Deprecate.deprecationWarning("followInsecureSymlinks", "followInsecureSymbolicLinks"); | ||
options.followInsecureSymbolicLinks = true; | ||
} | ||
if (!fs.contains(root, canonical) && !options.followInsecureSymbolicLinks) | ||
return options.notFound(request, response); | ||
@@ -59,0 +65,0 @@ if (path !== canonical && options.redirectSymbolicLinks) |
@@ -315,3 +315,3 @@ /** | ||
}); | ||
}); | ||
}).done(); | ||
@@ -318,0 +318,0 @@ return deferred.promise; |
{ | ||
"name": "q-io", | ||
"version": "1.10.3", | ||
"version": "1.10.4", | ||
"description": "IO using Q promises", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/kriskowal/q-io/", |
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
2980223
133
8527