Browse Source

don't try to compress a empty filename

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@602 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.2
Jan Kneschke 17 years ago
parent
commit
e8c45fbd58
  1. 4
      src/mod_compress.c

4
src/mod_compress.c

@ -574,6 +574,10 @@ PHYSICALPATH_FUNC(mod_compress_physical) {
con->request.http_method != HTTP_METHOD_POST) {
return HANDLER_GO_ON;
}
if (buffer_is_empty(con->physical.path)) {
return HANDLER_GO_ON;
}
mod_compress_patch_connection(srv, con, p);

Loading…
Cancel
Save