mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
fix r2169 for .def.com and .abc.def.com case
This commit is contained in:
parent
540ce1957f
commit
134d1a67c5
@ -589,7 +589,7 @@ ngx_hash_wildcard_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names,
|
||||
wdc->value = names[n].value;
|
||||
}
|
||||
|
||||
name->value = (void *) ((uintptr_t) wdc | (dot ? 3 : 1));
|
||||
name->value = (void *) ((uintptr_t) wdc | (dot ? 3 : 2));
|
||||
|
||||
} else if (dot) {
|
||||
name->value = (void *) ((uintptr_t) name->value | 1);
|
||||
|
Loading…
Reference in New Issue
Block a user