cgi-io: fix read after end errors
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 8 Oct 2019 20:34:11 +0000 (22:34 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Thu, 10 Oct 2019 18:02:30 +0000 (20:02 +0200)
commit472ee5381996a2d32137102ba0fc191e1ae4850f
treeffb09e6f598b598a6b18ab67e56589fbd5c899c7
parent156b7112ab38e7caa2f6488e6fbe73c5b8edda41
cgi-io: fix read after end errors

Currently cgi-io try to read data after the data ended.
- Adds "-" to whitelist char
- In main_upload is tried to consume the buffer while it's already readed by the while loop before

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Makefile
src/main.c