cgi-io: fix read after end errors 10191/head
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)
commit535b2b6bd8a7f7a0a7a6914c8091619ea6f8961f
tree02b0b153964e1673a5119872d64563f3740af28d
parent7a5326dd29fabf2d405603e24159323b4f792759
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>
net/cgi-io/Makefile
net/cgi-io/src/main.c