Fix build with latest development versions of Nginx
The zero_in_uri member of the request structure does not longer exist, so removed a reference to it. Signed-off-by: Adrian Perez <aperez@igalia.com>pull/4/head v0.2.3
parent
bcbf8144c6
commit
d54092b842
|
@ -591,9 +591,6 @@ ngx_http_fancyindex_handler(ngx_http_request_t *r)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: Win32 */
|
/* TODO: Win32 */
|
||||||
if (r->zero_in_uri) {
|
|
||||||
return NGX_DECLINED;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
|
if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
|
||||||
return NGX_DECLINED;
|
return NGX_DECLINED;
|
||||||
|
|
Loading…
Reference in New Issue