Commit Graph

24 Commits

Author SHA1 Message Date
Hugo LAMY
875810c992 merge hugo5 with script cgi tests 2022-08-17 18:26:06 +02:00
Hugo LAMY
c6ebb95dc5 added script download test 2022-08-17 18:21:55 +02:00
lperrey
ccc542f52b Fixed big problem with CGI handling
+ remains somes minors problems
2022-08-17 01:11:20 +02:00
lperrey
4dc70373f8 debug message 2022-08-16 20:58:48 +02:00
Hugo LAMY
517f5dfc8a script test sleep input by user 2022-08-16 20:28:40 +02:00
Hugo LAMY
1ed4128afc more script tests
+ add cgi checks for error in script output
+ fix script_path relative to absolute
+ cgi makefile more efficient
2022-08-16 18:24:49 +02:00
Hugo LAMY
8c2aff6c6b modif and added several scipts for testing cgi
+ modif html page for script tests
+ script output not added to response in case of http error
2022-08-16 01:39:46 +02:00
hugogogo
1c13e254d5 basic cgi script test working 2022-08-15 18:26:41 +02:00
hugogogo
6ad6ec7d63 wip cgi ouptput 2022-08-15 16:18:47 +02:00
hugogogo
036256522a makefile for cgi_scripts 2022-08-15 15:28:19 +02:00
Hugo LAMY
a6bfea3b56 Merge branch 'hugo4' 2022-08-15 00:32:47 +02:00
Hugo LAMY
f6f63931ad litle fix in utils trim
+ added 2 functions to check script output
+ created a html page with 4 forms for tests
+ created 2 cpp forms, with and without creating header content-length
2022-08-15 00:24:08 +02:00
Eric LAZO
21efbef86a better telnet tester, merging 2022-08-14 21:41:46 +02:00
LuckyLaszlo
ce0a004d28 Le merge / 20 2022-08-14 06:30:27 +02:00
Hugo LAMY
db4c7468cc is_cgi function is back and is working
+ in utils added function eval_file_mode(), it returns http errors codes about file
2022-08-14 01:05:20 +02:00
hugogogo
285f2d049f + in fill_script_path() : scipt_path and script_info are filled, removing leadin dot
+ in _cgi_pos() : check validity of extension if it's only alpha characters
+ severall pbm appears
2022-08-13 14:38:50 +02:00
Me
3495ff19a8 mucked about with Telnet 2022-08-13 03:01:41 +02:00
Me
a69273b88e fixed an autoindex issue, working on uploading files 2022-08-12 23:45:13 +02:00
hugogogo
f17bc9fa58 wip test path cgi :
- _cgi_pos seems to be ok
  - construct url from return is not implemented yet
+ renamed script with extension .php and .cpp
2022-08-12 23:31:59 +02:00
hugogogo
de09c2357c php newline pbm resolved 2022-08-12 12:00:20 +02:00
hugogogo
3a58b5d921 wip debug comparison fields output script 2022-08-11 19:42:09 +02:00
hugogogo
ff77dfd298 debug new request parsing 2022-08-11 14:50:56 +02:00
hugogogo
3dad938e3c add extern function for http message parsing
+ wip compare fields server and script
+ g tout cassey
2022-08-09 11:19:46 +02:00
hugogogo
f252887d53 merge from hugo, add parsing requests and wip cgi 2022-08-01 20:41:07 +02:00