1
0
Fork 0
forked from svrjs/svrjs
Commit graph

611 commits

Author SHA1 Message Date
e29d1aa3aa Fix syntax error from previous commit. 2024-01-24 18:53:29 +00:00
5fdbc898d0 Add support for web root postfix prefixes. 2024-01-24 18:52:05 +00:00
6abe280ee8 Add support for web root postfixes (for every host) 2024-01-23 07:00:23 +01:00
6a9afcbc26 Add support for useClientCertificate, rejectUnauthorizedClientCertificates, cipherSuite, ecdhCurve, tlsMinVersion, tlsMaxVersion, signatureAlgorithms and http2Settings config.json properties. 2024-01-22 23:21:01 +01:00
1a2019664a Fixed error handling for invalid URL rewrite regexes. Also fixed bug with HTTP proxy not working. 2024-01-18 01:12:09 +01:00
60a84d879d Clean up the code (remove trailing spaces) 2024-01-14 19:01:49 +01:00
db6c4faeaf Mitigate log file injection vulnerability at mod file names. 2024-01-14 19:00:27 +01:00
e1e9338806 SVR.JS no longer crashes, when access to a log file is denied. 2024-01-14 09:00:08 +01:00
e11dd8d5b5 Mitigated log file injection for HTTP authentication 2024-01-14 08:41:11 +01:00
55dfa0ad1e Fixed typo that caused 500 error with 308 code redirects 2024-01-13 10:25:42 +01:00
9569c7b7fd Added support for 307 and 308 redirects (both in config.json and in redirect() SVR.JS API method) 2024-01-13 08:36:00 +01:00
fef016dd1c Remove svrmodpack from node_modules 2024-01-13 08:27:41 +01:00
03556813ec Reformatted the source code 2024-01-13 08:25:38 +01:00
1123f40961 Cleaned up the code 2024-01-13 08:09:32 +01:00
4179e4020c Dropped support for svrmodpack; SVR.JS LTS versions will still have svrmodpack support. 2024-01-13 08:01:05 +01:00
7e73cb68d3 Added support for skipping URL rewriting, when the URL refers to a file or a directory. 2024-01-13 07:53:16 +01:00
d942342106 Changed rewriteURL method to use callbacks. 2024-01-13 07:34:28 +01:00
506df5ada7 Changed "SVR.JS authors" in custom feet to "SVR.JS". 2023-12-31 00:41:44 +01:00
7a6661b895 Fix searchHostname function 2023-12-30 23:43:07 +01:00
c46baf94b0 Replace "SVR.JS authors" with "SVR.JS" 2023-12-30 23:39:31 +01:00
b0ed92d8ac Removed all remnants of "DorianTech" in SVR.JS 2023-12-24 19:17:34 +01:00
7be1c2a73b Fixed host name rewriting 2023-12-16 08:59:49 +01:00
949e799d45 Improved SNI and host header processing 2023-12-15 23:28:06 +01:00
e68118ecbc Improve on new SNI-related changes 2023-12-15 00:50:33 +01:00
aac6323401 Add Host header processing 2023-12-15 00:15:54 +01:00
63f8e98add SVR.JS now refuses to start with misconfigured SNI in order to prevent ReDoS vulnerabilities. 2023-12-15 00:05:22 +01:00
179ebf6a7f Changed secure context regex generation 2023-12-14 23:45:50 +01:00
355d20a2c1 Optimized some anti-XSS measures 2023-12-12 23:22:06 +01:00
2faf1e9c61 Mitigated even more XSS vulnerabilities. 2023-12-12 23:19:29 +01:00
8bad3f918c Fixed multiple XSS vulnerabilities 2023-12-12 23:09:39 +01:00
5950d326fe Clean up res.writeHead wraooer code 2023-12-12 22:37:23 +01:00
5902dd52fc Added client errors, server errors, and malformed HTTP request counts to SVR.JS status page. 2023-12-12 22:29:27 +01:00
2fb4c52777 Make status page code more readable. 2023-12-12 22:19:51 +01:00
953c95f485 Fixes bug in the sizify function 2023-12-07 09:56:09 +01:00
ab69abf2da Fixed bug with URL rewriting and trailing slash redirection 2023-12-03 16:18:21 +01:00
33d89f01d3 Changed licenses page 2023-12-03 14:21:09 +01:00
5f586cee0a Changed tests page 2023-12-03 14:18:44 +01:00
2cab4349f9 Minor code style corrections 2023-12-03 14:04:38 +01:00
7229661c8e Replace all instances of "ex" with "err" 2023-12-03 14:00:52 +01:00
ebe310eca6 Clean up SVR.JS code 2023-12-03 13:58:35 +01:00
caf2ad685d Fix environment variable support (after testing) 2023-12-03 13:55:56 +01:00
d02c9754c9 Invalid compression exclusion list regexes no longer crash SVR.JS 2023-12-03 13:09:56 +01:00
17def48271 Changed invalid regex error message 2023-12-03 13:07:28 +01:00
0ed74bc55d Change base 1000 size prefixes to base 1024. 2023-12-03 12:51:05 +01:00
ae1738166f Add new config.json option - environmentVariables. 2023-12-03 12:11:15 +01:00
1f42691cbc Correct language errors 2023-12-03 12:05:14 +01:00
024d6cc2d3 SVR.JS now saves configuration files with trailing newlines. 2023-12-03 12:02:49 +01:00
4c9cd87a94 Change default configuration 2023-12-03 12:01:59 +01:00
5321f2c6a7 Added trailing slash redirect support 2023-12-03 11:55:19 +01:00
1f603ec262 Fixed language error in defualt index page. 2023-11-12 20:03:50 +01:00