Commit Graph

320 Commits

Author SHA1 Message Date
whaffman
443e5c3c3b Cgi kill on destruct 2025-11-11 19:05:24 +01:00
Quinten
bec2f37670 log 2025-11-11 17:33:38 +01:00
Quinten
264d539ada updat econfig 2025-11-11 17:33:31 +01:00
Quinten
6263fe3dd5 fix: update parseFullpath to set baseName on invalid path segment and add debug log for CGI check 2025-11-11 17:33:24 +01:00
Quinten
4687b40fc2 fix for tester 2025-11-11 17:33:01 +01:00
Quinten
10db3e58a6 fix: remove unused isMethodSupported function from Router class 2025-11-11 16:29:44 +01:00
Quinten
a11e1ec42d fix: update toBytes method in HttpResponse to accept offset parameter 2025-11-11 16:29:39 +01:00
Quinten
f8a73fde2b fix: set pipes to blocking mode in CgiProcess spawn method 2025-11-11 16:29:27 +01:00
Quinten
82c421f458 fix: refine CGI path validation to exclude relative paths 2025-11-11 16:29:19 +01:00
Quinten
77e09f43ed fix: remove const qualifier from respond and poll methods in Client class 2025-11-11 16:28:44 +01:00
Quinten
f146f41bb8 fix: simplify logging for partial requests and update response handling 2025-11-11 16:28:35 +01:00
whaffman
cebcb85713 cpp upload handler 2025-11-11 15:30:18 +01:00
whaffman
7bb3e850c0 feat: implement file upload handling with multipart support 2025-11-11 15:29:16 +01:00
Quinten
44790957ce fix: make child pipe blocking 2025-11-11 14:46:34 +01:00
Quinten
63c24cf6e8 update submodule 2025-11-11 14:39:52 +01:00
Quinten
7fcca20da5 fix: ignore uploads 2025-11-11 14:38:44 +01:00
Quinten
936a7f09be fix: make func def const 2025-11-11 14:38:14 +01:00
Quinten
5d4265eab3 works? 2025-11-06 19:10:30 +01:00
Quinten
a52f27d6b7 tmp: stash commit 2025-11-06 15:42:39 +01:00
Quinten
b0ce1fb3c8 fix: correctly match uri to location 2025-11-06 13:40:00 +01:00
Quinten
0ae18e534f feat: delete requests 2025-11-05 16:04:26 +01:00
Quinten
5a1d8a1dcf fix: use correct location match segment 2025-11-05 15:18:45 +01:00
Quinten
5076ab0630 fix: missing permissions 2025-11-05 14:59:31 +01:00
whaffman
6a354f6742 fix: improve error handling in Server event processing 2025-11-04 19:25:52 +01:00
whaffman
cd1932762a Merge branch 'main' into cgi-standalone 2025-11-04 17:10:25 +01:00
whaffman
7115a7b907 fix: added TODO's on what to work on 2025-11-04 15:43:00 +01:00
whaffman
53eea8246b fixes 2025-11-04 10:22:52 +01:00
whaffman
004fde1044 chore: update subproject commit reference in webserv-tester 2025-10-31 17:48:11 +01:00
whaffman
13f14e8e5e feat: add CGI standalone 2025-10-31 16:01:38 +01:00
whaffman
e792429b50 fix: add error handling for null bytes in config files and enforce location path rules 2025-10-31 15:10:00 +01:00
whaffman
fe3b28fbfe fix: enforce single semicolon in directives and handle multiple semicolons 2025-10-31 15:09:50 +01:00
whaffman
0aa1fd5bc1 chore: update subproject commit reference in webserv-tester 2025-10-31 15:09:41 +01:00
whaffman
cd64f98b31 fix: ensure location blocks are not allowed in global context 2025-10-31 13:33:54 +01:00
whaffman
7072f71e00 fix: add missing semicolons in location and cgi_handler directives in default.conf 2025-10-31 13:33:36 +01:00
whaffman
fbf2a1eb82 chore: update subproject commit reference in webserv-tester 2025-10-31 10:16:49 +01:00
whaffman
ce42760b3e fix: update trim function in removeEmptyLines to exclude semicolons 2025-10-31 10:05:32 +01:00
whaffman
0ac362face feat: enhance error messages in SizeDirective for invalid size directives 2025-10-31 10:05:17 +01:00
whaffman
206a271142 feat: add error handling for empty directive arguments in createDirective method 2025-10-31 10:05:03 +01:00
whaffman
f6837bf8d5 feat: validate directive has one semicolon in addDirective method 2025-10-31 10:04:51 +01:00
whaffman
5c553e64bb chore: update subproject commit reference in webserv-tester 2025-10-31 08:59:56 +01:00
whaffman
d507a6a022 feat: update error handling for request target length and change response status to BAD_REQUEST 2025-10-30 23:05:47 +01:00
whaffman
5b5cda23ce feat: add URI_TOO_LONG status code and update statusCodeInfos array 2025-10-30 23:05:36 +01:00
whaffman
e8071a6dd0 feat: add Content-Type and Connection headers for autoindex responses 2025-10-30 23:05:11 +01:00
whaffman
a479fa5415 feat: add support for 'Allow' header in METHOD_NOT_ALLOWED responses 2025-10-30 23:04:52 +01:00
whaffman
8609dee529 feat: add error handling for empty configuration files 2025-10-30 23:04:37 +01:00
whaffman
d8fb7d0846 feat: enhance request validation with method checks and error handling 2025-10-30 23:04:27 +01:00
whaffman
f0aaef2ee0 chore: update submodule reference 2025-10-30 23:03:40 +01:00
Quinten
e32139e6be chore: update submodule 2025-10-30 17:21:39 +01:00
Quinten
1b123d84e3 feat: (better) http validation 2025-10-30 17:20:59 +01:00
whaffman
a09ff469ee uri encode utils 2025-10-30 17:13:38 +01:00