Skip to content

Commit 5c1da6e

Browse files
committed
case-sensitive matching
1 parent 5fa25fa commit 5c1da6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngx_http_allow_method_module.c renamed to ngx_http_allow_methods_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ngx_http_allow_methods_set_allow_methods(ngx_conf_t *cf, ngx_command_t *cmd, voi
5454

5555
rc.pattern = value[1];
5656
rc.pool = cf->pool;
57-
rc.options = 1; /* case sensitive */
57+
rc.options = 0; /* case-sensitive */
5858
rc.err.len = NGX_MAX_CONF_ERRSTR;
5959
rc.err.data = errstr;
6060

0 commit comments

Comments
 (0)