Commit graph

35 commits

Author SHA1 Message Date
f672fcea71 Fix response mojibake, while SVR.JS is running on Bun 2024-05-03 16:08:06 +02:00
11b23e99b1 Fix "handler is not defined" error 2024-03-29 04:08:19 +01:00
3d5d57b7b4 Fix "write after end" server crashes 2024-03-28 07:21:02 +01:00
7307229e90 Added stderr logging. 2024-02-16 02:27:56 +01:00
36e63e9c99 Prevented server crashes caused by header write errors 2024-02-16 02:20:18 +01:00
a7aed50d70 Reduced buffer memory leaks and improved performace by using streams after header processing 2024-02-16 02:08:28 +01:00
a94e619f16 Fixed bug with URLs containing "cgi-bin" that don't refer to "cgi-bin" directory in the web root 2024-02-15 20:09:32 +01:00
73a6353a98 Fix non-3xx code detection 2024-02-11 15:03:27 +01:00
fb9bb1e798 All responses with Location header are now 3xx redirects. 2024-02-11 14:48:18 +01:00
41a9052a07 RedBrick now no longer sets AUTH_TYPE and REMOTE_USER environment value, when 401 code is not specified in SVR.JS configuration. 2024-02-07 01:14:56 +01:00
4881a2dbd7 Fixed bug with URL containing URL-encoded characters 2024-01-29 18:51:40 +00:00
d9056a9f78 Removed "DorianTech" from mod.info. Also don't crash, when broken SVR.JS config is loaded. 2023-12-31 21:22:46 +01:00
dfe13d711e Fixed bug with too long URLs causing server to not respond. Also added support for exposeModsInErrorPages config.json property. 2023-12-03 21:11:07 +01:00
92242b757d Clean up the code 2023-11-23 04:34:17 +01:00
1851adc375 Improved support for executing CGI outside cgi-bin directory 2023-11-23 04:23:46 +01:00
b40e9ad55a Add support for executing CGI outside cgi-bin directory 2023-11-23 03:58:39 +01:00
d86d190f0b Fixed "broken access control" (it hid configuration files, but it returned 200 OK instead of 403 Forbidden) 2023-11-23 03:48:46 +01:00
cae1d77e4f Replaced error handler 2023-11-23 03:44:25 +01:00
f19b2e2f75 Changed redbrick-interpreters handling and added stub support for redbrick-scriptexts.json 2023-11-23 03:37:18 +01:00
598073594e Dropped .cmd default prefix 2023-11-23 03:17:49 +01:00
afbd0fe4c3 Fix RedBrick not working in external web root setups 2023-09-15 08:45:09 +02:00
Dorian Niemiec
696be56402 Fix handling of REMOTE_PORT 2023-09-03 11:31:18 +02:00
a80d91de48 Improved CGI response parser 2023-08-30 18:13:30 +02:00
9381b3dec0 Narrowed down conditions for CGI execution for security reasons 2023-08-30 17:34:56 +02:00
b4de66359d Improve CGI program startup, also added SERVER_ADMIN environment variable 2023-08-27 09:01:30 +02:00
8edef21682 Make it work under Windows 2023-08-26 14:53:08 +02:00
c3245f287a Add support for "\n\r" 2023-08-21 23:28:37 +02:00
4011f36086 Added index.cgi file and HTTPS environment value support. 2023-08-19 20:13:50 +02:00
7d20f29c3b Prevent source code viewing by "CGI-BIN" instead of "cgi-bin" in Windows 2023-08-14 18:17:37 +02:00
Dorian Niemiec
b54464e922 Fix loading redbrick-interpreters.json file. 2023-08-10 22:54:38 +02:00
svrjs
161fa1f980 REQUEST_URI environment variable now includes rewritten URLs. 2023-08-02 17:25:38 +02:00
svrjs
58fc45fc79 Make it work for PHP-CGI 2023-08-02 14:33:36 +02:00
Dorian Niemiec
5c67e6b7a6 Replaced some blocking calls in favor of non-blocking ones and also formatted the code. 2023-08-02 00:22:39 +02:00
svrjs
17c09db695 Security updates 2023-07-30 02:24:20 +02:00
sysadmin
7cebf8d001 Initial commit 2023-07-29 23:44:21 +02:00