Release - v1.17.7

This commit is contained in:
2019-12-25 00:35:18 +09:00
parent b013300457
commit 1d1103eacb
16 changed files with 175 additions and 76 deletions
@@ -318,6 +318,11 @@ ngx_http_rewrite(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
value = cf->args->elts;
if (value[2].len == 0) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "empty replacement");
return NGX_CONF_ERROR;
}
ngx_memzero(&rc, sizeof(ngx_regex_compile_t));
rc.pattern = value[1];