From df3254aa49c80b350ff4fa2eb50baf3cafbed71c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 11 Jan 2006 15:26:57 +0000 Subject: nginx-0.3.20-RELEASE import *) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form. --- src/core/ngx_hash.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/ngx_hash.c') diff --git a/src/core/ngx_hash.c b/src/core/ngx_hash.c index 0a1d69d9b..1f677c9fa 100644 --- a/src/core/ngx_hash.c +++ b/src/core/ngx_hash.c @@ -753,7 +753,9 @@ ngx_hash_add_key(ngx_hash_keys_arrays_t *ha, ngx_str_t *key, void *value, k = 0; for (i = 0; i < key->len; i++) { - key->data[i] = ngx_tolower(key->data[i]); + if (!(flags & NGX_HASH_READONLY_KEY)) { + key->data[i] = ngx_tolower(key->data[i]); + } k = ngx_hash(k, key->data[i]); } -- cgit