Fix incompatibility with Nginx 0.7.66
Adds a couple of additional version checks to make the module compatible with Nginx 0.7.66. Signed-off-by: Adrian Perez <aperez@igalia.com>pull/4/head v0.2.5
parent
4b19f3a73f
commit
3d1c14f162
|
@ -617,7 +617,9 @@ ngx_http_fancyindex_handler(ngx_http_request_t *r)
|
|||
}
|
||||
|
||||
/* TODO: Win32 */
|
||||
#if defined(nginx_version) && nginx_version < 8038
|
||||
#if defined(nginx_version) \
|
||||
&& ((nginx_version < 7066) \
|
||||
|| ((nginx_version > 8000) && (nginx_version < 8038)))
|
||||
if (r->zero_in_uri) {
|
||||
return NGX_DECLINED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue