Commit Graph

10 Commits

Author SHA1 Message Date
prx e9be1b73a7 percent-decode uri 2021-03-02 10:06:09 +01:00
prx de7cd12f9f ignore after ? and make cgi+virtualhost work (sort of) 2021-01-31 21:21:15 +01:00
prx f6bc000adc fix status code in cgi script 2021-01-14 13:49:46 +01:00
prx 470e47a018 Add simple cgi support +:
* read file byte after byte
* format code (syslog + err)
* move functions in utils.c
2021-01-14 13:31:51 +01:00
prx f60ea88c8d add mimetype and autoindex option + minor changes
* follow style(9) for prototypes
* move first most used extension for more effeciciency when looking for mime
* add opts.h to deal with options
* remove lang=en by default
* add option to set default mimetype
* add option to autoindex if no index.gmi found
* redirect if ending "/" is missing
* send appropriate status code if request too long
* edit manpage and README for new options
2021-01-10 09:30:35 +01:00
prx 4a1b0c8ce2 fix issue if missing ending '/' and add appropriate test 2021-01-06 21:37:38 +01:00
Solene Rapenne d8a49b1827 add missing symlink for previously added test 2021-01-02 16:30:12 +01:00
Solene Rapenne 1753181bff add IRI tests using utf8 or emojis 2020-12-28 09:26:36 +01:00
Solene Rapenne 7b0ae577c6 Adding missing test files 2020-12-03 22:06:48 +01:00
Solene Rapenne c2d813c0f1 Init vger 2020-12-01 23:39:05 +01:00