libcgi
libcgi copied to clipboard
A C library to build CGI applications
libcgi contains an implementation of the md5 hash function, however its not used inside the library itself and the status regarding license or potential security issues (despite the weekness of...
Currently there's `libcgi_error()` which is used in numerous places around the whole library. If the global variable `cgi_display_errors` contains true it prints HTML markup to stdout containing the error message....
When running [clang-tidy](https://clang.llvm.org/extra/clang-tidy/) on the code, warnings are thrown for the file `base64.c`, including null pointer dereference and undefined behavior. This should probably be investigated?
That API function is problematic in multiple ways: * **exit** terminates the whole process, from a library, … well you don't do that, pass your error codes and let the...
A typical consumer of the library takes the header file(s) and some binaries, and can develop her application on top of that. If the API documentation would be included in...
It's typical (if not only) use case: while ((value = cgi_param_multiple(name)) != NULL) { // processing here... } will cause endless loop when name is found at the end of...
libcgi now compiles using MSVC, and works properly when built as static library. Also eliminated lots of warnings. Still needs more work to function properly as DLL, as stdout in...
In "list.c", slist_add() could be greatly simplified if we ignore the order - appending. This is how the code could look if we prepend to the list instead: ``` c...