When you need a web server in a hurry. http://unix4lyfe.org/darkhttpd/
Go to file
Emil Mikulic ce5eaa9f94 . Made split_string() return a string instead of taking char **dest
. Added make_safe_uri()
. Modified split_string() calls to match new prototype
. process_get() uses make_safe_uri() to prevent walking out of wwwroot
. free(target) AFTER we finish using it in process_get (whoops)
2013-04-28 19:30:35 +10:00
trunk . Made split_string() return a string instead of taking char **dest 2013-04-28 19:30:35 +10:00