diff --git a/index.html b/index.html
index 67e7b2f..1d372a7 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.10.1
+ SVR.JS 3.10.2
- Welcome to SVR.JS 3.10.1
+ Welcome to SVR.JS 3.10.2
@@ -117,10 +117,7 @@
Changes:
- - Dropped "pretty-bytes" dependency.
- - Removed undocumented and non-working code.
- - Fixed bug: .notindex files in directories no longer cause server timeouts, due of non-working undocumented code.
- - Replaced function converting byte count to human-readable representation with new one.
+ - Fixed bug with mods executing in wrong order (bug was related with access control vulnerability fix; bug was not present in LTS versions)
Tests
diff --git a/licenses/index.html b/licenses/index.html
index 3138999..07a168c 100644
--- a/licenses/index.html
+++ b/licenses/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.10.0 Licenses
+ SVR.JS 3.10.2 Licenses
- SVR.JS 3.10.0 Licenses
- SVR.JS 3.10.0
+ SVR.JS 3.10.2 Licenses
+ SVR.JS 3.10.2
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.0 and utilities
+ Packages used by SVR.JS 3.10.2 and utilities
License: MIT
diff --git a/svr.js b/svr.js
index 2d81ef5..7653398 100644
--- a/svr.js
+++ b/svr.js
@@ -81,7 +81,7 @@ function deleteFolderRecursive(path) {
}
var os = require("os");
-var version = "3.10.1";
+var version = "3.10.2";
var singlethreaded = false;
if (process.versions) process.versions.svrjs = version; // Inject SVR.JS into process.versions
@@ -3245,7 +3245,7 @@ if (!cluster.isPrimary) {
function modExecute(mods, ffinals) {
// Prepare modFunction
var modFunction = ffinals;
- var useMods = mods;
+ var useMods = mods.slice();
if(isProxy) {
// Get list of forward proxy mods
diff --git a/tests.html b/tests.html
index 25c7100..4549a1c 100644
--- a/tests.html
+++ b/tests.html
@@ -1,7 +1,7 @@
-
SVR.JS 3.10.1 Tests
+ SVR.JS 3.10.2 Tests
- SVR.JS 3.10.1 Tests
+ SVR.JS 3.10.2 Tests
Directory
Directory (with query)