comparison src/http/modules/ngx_http_autoindex_module.c @ 206:3866d57d9cfd NGINX_0_3_50

nginx 0.3.50 *) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors" directives was renamed to the "proxy_intercept_errors" and "fastcgi_intercept_errors" directives. *) Feature: the ngx_http_charset_module supports the recoding from the single byte encodings to the UTF-8 encoding and back. *) Feature: the "X-Accel-Charset" response header line is supported in proxy and FastCGI mode. *) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI command was removed only if the command also has the "$" symbol. *) Bugfix: the "<!--" string might be added on some conditions in the SSI after inclusion. *) Bugfix: if the "Content-Length: 0" header line was in response, then in nonbuffered proxying mode the client connection was not closed.
author Igor Sysoev <http://sysoev.ru>
date Wed, 28 Jun 2006 00:00:00 +0400
parents 003bd800ec2a
children fa32d59d9a15
comparison
equal deleted inserted replaced
205:e53bd15c244a 206:3866d57d9cfd
317 317
318 entry->escape = 2 * ngx_escape_uri(NULL, ngx_de_name(&dir), len, 318 entry->escape = 2 * ngx_escape_uri(NULL, ngx_de_name(&dir), len,
319 NGX_ESCAPE_HTML); 319 NGX_ESCAPE_HTML);
320 320
321 if (r->utf8) { 321 if (r->utf8) {
322 entry->utf_len = ngx_utf_length(&entry->name); 322 entry->utf_len = ngx_utf_length(entry->name.data, entry->name.len);
323 } else { 323 } else {
324 entry->utf_len = len; 324 entry->utf_len = len;
325 } 325 }
326 326
327 entry->dir = ngx_de_is_dir(&dir); 327 entry->dir = ngx_de_is_dir(&dir);