Update to YellowSquare 1.1.3

This commit is contained in:
Dorian Niemiec 2024-02-15 20:09:58 +01:00
parent f339445ea5
commit 705da378f1
2 changed files with 2 additions and 2 deletions

View file

@ -233,7 +233,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e
executeJSGI("." + a, req, res, dh, jsgiRequestObject); executeJSGI("." + a, req, res, dh, jsgiRequestObject);
} }
if (href.match(new RegExp("/jsgi-bin(?:$|[?#/])",os.platform() == "win32" ? "i" : ""))) { if (href.match(new RegExp("^/jsgi-bin(?:$|[?#/])",os.platform() == "win32" ? "i" : ""))) {
fs.stat("." + decodeURIComponent(href), function (err, stats) { fs.stat("." + decodeURIComponent(href), function (err, stats) {
if (!err) { if (!err) {
if (!stats.isFile()) { if (!stats.isFile()) {

View file

@ -1,4 +1,4 @@
{ {
"name": "YellowSquare JSGI engine for SVR.JS", "name": "YellowSquare JSGI engine for SVR.JS",
"version": "1.1.2" "version": "1.1.3"
} }