From 705da378f1665341865ea658e376dff5292cadba Mon Sep 17 00:00:00 2001 From: Dorian Nimemiec Date: Thu, 15 Feb 2024 20:09:58 +0100 Subject: [PATCH] Update to YellowSquare 1.1.3 --- index.js | 2 +- mod.info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 2e2a304..62e6825 100644 --- a/index.js +++ b/index.js @@ -233,7 +233,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e 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) { if (!err) { if (!stats.isFile()) { diff --git a/mod.info b/mod.info index 78821a1..d588fcb 100755 --- a/mod.info +++ b/mod.info @@ -1,4 +1,4 @@ { "name": "YellowSquare JSGI engine for SVR.JS", - "version": "1.1.2" + "version": "1.1.3" }