Update to RedBrick 2.5.6
This commit is contained in:
parent
554ffee615
commit
85e40c9396
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -379,7 +379,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e
|
|||
executeCGI("." + a, req, res, dh, nEnv);
|
||||
}
|
||||
|
||||
var isCgiBin = href.match(new RegExp("/cgi-bin(?:$|[?#/])", os.platform() == "win32" ? "i" : ""));
|
||||
var isCgiBin = href.match(new RegExp("^/cgi-bin(?:$|[?#/])", os.platform() == "win32" ? "i" : ""));
|
||||
var isScriptExt = scriptExts.indexOf("." + ext) != -1;
|
||||
|
||||
if ((href == "/redbrick-interpreters.json" || href == "/redbrick-scriptexts.json" || (os.platform() == "win32" && (href.toLowerCase() == "/redbrick-interpreters.json" || href.toLowerCase() == "/redbrick-scriptexts.json"))) && path.normalize(__dirname + "/../../..") == process.cwd()) {
|
||||
|
|
2
mod.info
2
mod.info
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"name": "RedBrick CGI engine for SVR.JS",
|
||||
"version": "2.5.5"
|
||||
"version": "2.5.6"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue