diff --git a/index.html b/index.html
index 387a800..8549130 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.4.36
+ SVR.JS 3.4.37
- Welcome to SVR.JS 3.4.36
+ Welcome to SVR.JS 3.4.37
@@ -119,8 +119,7 @@
Changes:
- - Removed undocumented and non-working code.
- - Fixed bug: .notindex files in directories no longer cause server timeouts, due of non-working undocumented code.
+ - Fixed bug with non-standard code regex replacements
Tests
diff --git a/licenses/index.html b/licenses/index.html
index 951e3a1..9df26a1 100644
--- a/licenses/index.html
+++ b/licenses/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.4.36 Licenses
+ SVR.JS 3.4.37 Licenses
- SVR.JS 3.4.36 Licenses
- SVR.JS 3.4.36
+ SVR.JS 3.4.37 Licenses
+ SVR.JS 3.4.37
MIT License
@@ -37,7 +37,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- Packages used by SVR.JS 3.4.36 and utilities
+ Packages used by SVR.JS 3.4.37 and utilities
License: MIT
diff --git a/svr.js b/svr.js
index c02951e..c7a510f 100644
--- a/svr.js
+++ b/svr.js
@@ -71,7 +71,7 @@ function deleteFolderRecursive(path) {
}
var os = require("os");
-var version = "3.4.36";
+var version = "3.4.37";
var singlethreaded = false;
if (process.versions) process.versions.svrjs = version; //Inject SVR.JS into process.versions
@@ -4021,7 +4021,7 @@ if (!cluster.isPrimary) {
var searchString = regexObj.join("/");
var rx = RegExp(searchString, modifiers);
mth = req.url.match(rx) || href.match(rx);
- regexI.push(rx);
+ regexI[i] = rx;
} else {
mth = nonStandardCodes[i].url == href || (os.platform() == "win32" && nonStandardCodes[i].url.toLowerCase() == href.toLowerCase());
}
diff --git a/tests.html b/tests.html
index f669f86..b90b71d 100644
--- a/tests.html
+++ b/tests.html
@@ -1,7 +1,7 @@
-
SVR.JS 3.4.36 Tests
+ SVR.JS 3.4.37 Tests
- SVR.JS 3.4.36 Tests
+ SVR.JS 3.4.37 Tests
Directory
Directory (with query)