Browse Source

[mod_dirlisting] dirlist does not handle POST

personal/stbuehler/mod-csrf-old
Glenn Strauss 6 years ago
parent
commit
09a663b95b
  1. 3
      src/mod_dirlisting.c

3
src/mod_dirlisting.c

@ -921,10 +921,9 @@ URIHANDLER_FUNC(mod_dirlisting_subrequest) {
UNUSED(srv);
/* we only handle GET, POST and HEAD */
/* we only handle GET and HEAD */
switch(con->request.http_method) {
case HTTP_METHOD_GET:
case HTTP_METHOD_POST:
case HTTP_METHOD_HEAD:
break;
default:

Loading…
Cancel
Save