diff --git a/index.html b/index.html
index 69ee55d..024ef29 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.14.6
+ SVR.JS 3.14.7
- Welcome to SVR.JS 3.14.6
+ Welcome to SVR.JS 3.14.7
@@ -85,13 +85,7 @@
Changes:
- - Added CVE-2024-22019 Node.JS vulnerability warning.
- - Improved protection against user enumeration in HTTP authentication.
- - Replaced block list message with generic 403 Forbidden error.
- - Replaced some instances of "blacklist" with "block list".
- - Some terminal output is now bold.
- - Updated SVR.JS log viewer (logviewer.js) and log highlighter (loghighlight.js)
- - When "block localhost" CLI command is executed, SVR.JS now adds "localhost" to the block list instead of "::ffff:localhost".
+ - Fixed bug with request domain names not showing in server logs.
Tests
diff --git a/licenses/index.html b/licenses/index.html
index d629b68..66762f6 100644
--- a/licenses/index.html
+++ b/licenses/index.html
@@ -1,7 +1,7 @@
- SVR.JS 3.14.6 Licenses
+ SVR.JS 3.14.7 Licenses
- SVR.JS 3.14.6 Licenses
- SVR.JS 3.14.6
+ SVR.JS 3.14.7 Licenses
+ SVR.JS 3.14.7
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.14.6
+ Packages used by SVR.JS 3.14.7
License: MIT
diff --git a/svr.js b/svr.js
index 6f0a1f8..e165548 100644
--- a/svr.js
+++ b/svr.js
@@ -69,7 +69,7 @@ function deleteFolderRecursive(path) {
}
var os = require("os");
-var version = "3.14.6";
+var version = "3.14.7";
var singlethreaded = false;
if (process.versions) process.versions.svrjs = version; // Inject SVR.JS into process.versions
@@ -3057,7 +3057,7 @@ if (!cluster.isPrimary) {
if (!req.headers.host.match(/^\.+$/)) req.headers.host = req.headers.host.replace(/\.$/g, "");
}
- serverconsole.reqmessage("Client " + ((!reqip || reqip == "") ? "[unknown client]" : (reqip + ((reqport && reqport !== 0) && reqport != "" ? ":" + reqport : ""))) + " wants " + (req.method == "GET" ? "content in " : (req.method == "POST" ? "to post content in " : (req.method == "PUT" ? "to add content in " : (req.method == "DELETE" ? "to delete content in " : (req.method == "PATCH" ? "to patch content in " : "to access content using " + req.method + " method in "))))) + ((req.headers.host == undefined || !isProxy) ? "" : req.headers.host) + req.url);
+ serverconsole.reqmessage("Client " + ((!reqip || reqip == "") ? "[unknown client]" : (reqip + ((reqport && reqport !== 0) && reqport != "" ? ":" + reqport : ""))) + " wants " + (req.method == "GET" ? "content in " : (req.method == "POST" ? "to post content in " : (req.method == "PUT" ? "to add content in " : (req.method == "DELETE" ? "to delete content in " : (req.method == "PATCH" ? "to patch content in " : "to access content using " + req.method + " method in "))))) + ((req.headers.host == undefined || isProxy) ? "" : req.headers.host) + req.url);
if (req.headers["user-agent"] != undefined) serverconsole.reqmessage("Client uses " + req.headers["user-agent"]);
if (oldHostHeader && oldHostHeader != req.headers.host) serverconsole.resmessage("Host name rewritten: " + oldHostHeader + " => " + req.headers.host);
diff --git a/tests.html b/tests.html
index 40e8e96..bf012a5 100644
--- a/tests.html
+++ b/tests.html
@@ -1,7 +1,7 @@
-
SVR.JS 3.14.6 Tests
+
SVR.JS 3.14.7 Tests
-
SVR.JS 3.14.6 Tests
+
SVR.JS 3.14.7 Tests
Directory (without trailing slash)
Directory (with query)
@@ -21,13 +21,6 @@
404 Error
-
-
500 Error
-
Server Side Javascript
Proxy test