diff --git a/index.html b/index.html
index 1d372a7..5257332 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.10.2
+ SVR.JS 3.10.3
- Welcome to SVR.JS 3.10.2
+ Welcome to SVR.JS 3.10.3
@@ -117,7 +117,7 @@
Changes:
- - Fixed bug with mods executing in wrong order (bug was related with access control vulnerability fix; bug was not present in LTS versions)
+ - Fixed bug with non-standard code regex replacements
Tests
diff --git a/licenses/index.html b/licenses/index.html
index 07a168c..8746e53 100644
--- a/licenses/index.html
+++ b/licenses/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.10.2 Licenses
+ SVR.JS 3.10.3 Licenses
- SVR.JS 3.10.2 Licenses
- SVR.JS 3.10.2
+ SVR.JS 3.10.3 Licenses
+ SVR.JS 3.10.3
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.10.2 and utilities
+ Packages used by SVR.JS 3.10.3 and utilities
License: MIT
diff --git a/svr.js b/svr.js
index 7653398..dc530e1 100644
--- a/svr.js
+++ b/svr.js
@@ -81,7 +81,7 @@ function deleteFolderRecursive(path) {
}
var os = require("os");
-var version = "3.10.2";
+var version = "3.10.3";
var singlethreaded = false;
if (process.versions) process.versions.svrjs = version; // Inject SVR.JS into process.versions
@@ -4231,7 +4231,7 @@ if (!cluster.isPrimary) {
// Regex match
var createdRegex = createRegex(nonStandardCodes[i].regex, true);
isMatch = req.url.match(createdRegex) || href.match(createdRegex);
- regexI.push(createdRegex);
+ regexI[i] = createdRegex;
} else {
// Non-regex match
isMatch = nonStandardCodes[i].url == href || (os.platform() == "win32" && nonStandardCodes[i].url.toLowerCase() == href.toLowerCase());
diff --git a/tests.html b/tests.html
index 4549a1c..464052a 100644
--- a/tests.html
+++ b/tests.html
@@ -1,7 +1,7 @@
-
SVR.JS 3.10.2 Tests
+ SVR.JS 3.10.3 Tests
- SVR.JS 3.10.2 Tests
+ SVR.JS 3.10.3 Tests
Directory
Directory (with query)