diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-11 15:26:57 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-01-11 15:26:57 +0000 |
commit | df3254aa49c80b350ff4fa2eb50baf3cafbed71c (patch) | |
tree | 15a72baf5205f698354f529e4ba2d5846b558c4a /src/core/ngx_hash.c | |
parent | 04ebcd942969bc479b4cc680eab6bf01f488f12f (diff) | |
download | nginx-release-0.3.20.tar.gz nginx-release-0.3.20.zip |
nginx-0.3.20-RELEASE importrelease-0.3.20
*) Bugfix: in SSI handling.
*) Bugfix: the ngx_http_memcached_module did not support the keys in
the "/usr?args" form.
Diffstat (limited to 'src/core/ngx_hash.c')
-rw-r--r-- | src/core/ngx_hash.c | 4 |
1 files changed, 3 insertions, 1 deletions
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]); } |