Dorian Niemiec [Fri, 3 May 2024 14:08:06 +0000 (16:08 +0200)]
Fix response mojibake, while SVR.JS is running on Bun
Dorian Niemiec [Fri, 29 Mar 2024 03:08:19 +0000 (04:08 +0100)]
Fix "handler is not defined" error
Dorian Niemiec [Thu, 28 Mar 2024 06:21:02 +0000 (07:21 +0100)]
Fix "write after end" server crashes
Dorian Niemiec [Fri, 16 Feb 2024 01:27:56 +0000 (02:27 +0100)]
Added stderr logging.
Dorian Niemiec [Fri, 16 Feb 2024 01:20:18 +0000 (02:20 +0100)]
Prevented server crashes caused by header write errors
Dorian Niemiec [Fri, 16 Feb 2024 01:08:28 +0000 (02:08 +0100)]
Reduced buffer memory leaks and improved performace by using streams after header processing
Dorian Nimemiec [Thu, 15 Feb 2024 19:09:32 +0000 (20:09 +0100)]
Fixed bug with URLs containing "cgi-bin" that don't refer to "cgi-bin" directory in the web root
Dorian Niemiec [Sun, 11 Feb 2024 14:03:27 +0000 (15:03 +0100)]
Fix non-3xx code detection
Dorian Niemiec [Sun, 11 Feb 2024 13:48:18 +0000 (14:48 +0100)]
All responses with Location header are now 3xx redirects.
Dorian Niemiec [Wed, 7 Feb 2024 00:14:56 +0000 (01:14 +0100)]
RedBrick now no longer sets AUTH_TYPE and REMOTE_USER environment value, when 401 code is not specified in SVR.JS configuration.
Dorian Niemiec [Mon, 29 Jan 2024 18:51:40 +0000 (18:51 +0000)]
Fixed bug with URL containing URL-encoded characters
Dorian Niemiec [Sun, 31 Dec 2023 20:22:46 +0000 (21:22 +0100)]
Removed "DorianTech" from mod.info. Also don't crash, when broken SVR.JS config is loaded.
Dorian Niemiec [Sun, 3 Dec 2023 20:11:07 +0000 (21:11 +0100)]
Fixed bug with too long URLs causing server to not respond. Also added support for exposeModsInErrorPages config.json property.
Dorian Niemiec [Thu, 23 Nov 2023 03:34:17 +0000 (04:34 +0100)]
Clean up the code
Dorian Niemiec [Thu, 23 Nov 2023 03:23:46 +0000 (04:23 +0100)]
Improved support for executing CGI outside cgi-bin directory
Dorian Niemiec [Thu, 23 Nov 2023 02:58:39 +0000 (03:58 +0100)]
Add support for executing CGI outside cgi-bin directory
Dorian Niemiec [Thu, 23 Nov 2023 02:48:46 +0000 (03:48 +0100)]
Fixed "broken access control" (it hid configuration files, but it returned 200 OK instead of 403 Forbidden)
Dorian Niemiec [Thu, 23 Nov 2023 02:44:25 +0000 (03:44 +0100)]
Replaced error handler
Dorian Niemiec [Thu, 23 Nov 2023 02:37:18 +0000 (03:37 +0100)]
Changed redbrick-interpreters handling and added stub support for redbrick-scriptexts.json
Dorian Niemiec [Thu, 23 Nov 2023 02:17:49 +0000 (03:17 +0100)]
Dropped .cmd default prefix
Dorian Niemiec [Fri, 15 Sep 2023 06:45:09 +0000 (08:45 +0200)]
Fix RedBrick not working in external web root setups
Dorian Niemiec [Sun, 3 Sep 2023 09:31:18 +0000 (11:31 +0200)]
Fix handling of REMOTE_PORT
Dorian Niemiec [Wed, 30 Aug 2023 16:13:30 +0000 (18:13 +0200)]
Improved CGI response parser
Dorian Niemiec [Wed, 30 Aug 2023 15:34:56 +0000 (17:34 +0200)]
Narrowed down conditions for CGI execution for security reasons
Dorian Niemiec [Sun, 27 Aug 2023 07:01:30 +0000 (09:01 +0200)]
Improve CGI program startup, also added SERVER_ADMIN environment variable
Dorian Niemiec [Sat, 26 Aug 2023 12:53:08 +0000 (14:53 +0200)]
Make it work under Windows
Dorian Niemiec [Mon, 21 Aug 2023 21:28:37 +0000 (23:28 +0200)]
Add support for "\n\r"
Dorian Niemiec [Sat, 19 Aug 2023 18:13:50 +0000 (20:13 +0200)]
Added index.cgi file and HTTPS environment value support.
Dorian Niemiec [Mon, 14 Aug 2023 16:17:37 +0000 (18:17 +0200)]
Prevent source code viewing by "CGI-BIN" instead of "cgi-bin" in Windows
Dorian Niemiec [Thu, 10 Aug 2023 20:54:38 +0000 (22:54 +0200)]
Fix loading redbrick-interpreters.json file.
Dorian Niemiec [Sun, 6 Aug 2023 02:13:45 +0000 (04:13 +0200)]
Changed all references for stable version to git master branch
svrjs [Wed, 2 Aug 2023 15:25:38 +0000 (17:25 +0200)]
REQUEST_URI environment variable now includes rewritten URLs.
svrjs [Wed, 2 Aug 2023 12:33:36 +0000 (14:33 +0200)]
Make it work for PHP-CGI
Dorian Niemiec [Tue, 1 Aug 2023 21:37:53 +0000 (23:37 +0200)]
Replaced some blocking calls in favor of non-blocking ones and also formatted the code.
svrjs [Sun, 30 Jul 2023 00:24:20 +0000 (02:24 +0200)]
Security updates
sysadmin [Sat, 29 Jul 2023 21:44:21 +0000 (23:44 +0200)]
Initial commit