uri processing reject paths not starting with slash
authorAndy Green <andy@warmcat.com>
Sat, 2 Apr 2016 00:03:48 +0000 (08:03 +0800)
committerAndy Green <andy@warmcat.com>
Sat, 2 Apr 2016 00:03:48 +0000 (08:03 +0800)
commit8b832663011c4ff7b853b218361855efd18d8510
treee16110595921f2594f52987c387a1fa556ffa925
parente3e89a7241230df6d4948281f0307d9df421fe26
uri processing reject paths not starting with slash

https://github.com/warmcat/libwebsockets/issues/481

Return 403 Forbidden if we don't end up with a uri path starting with /

Test server already did this, but this makes it built into the
library.

Signed-off-by: Andy Green <andy@warmcat.com>
lib/server.c