Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_string.c @ 560:daf4847b43ff NGINX_0_8_32
nginx 0.8.32
*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
Thanks to Maxim Dounin.
*) Bugfix: regular expression named captures worked for two names only.
Thanks to Maxim Dounin.
*) Bugfix: now the "localhost" name is used in the "Host" request
header line, if an unix domain socket is defined in the "auth_http"
directive.
Thanks to Maxim Dounin.
*) Bugfix: nginx did nor support chunked transfer encoding for 201
responses.
Thanks to Julian Reich.
*) Bugfix: if the "expires modified" set date in the past, the a
negative number was set in the "Cache-Control" response header
line.
Thanks to Alex Kapranoff.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 11 Jan 2010 00:00:00 +0300 |
parents | c04fa65fe604 |
children | be4f34123024 |
comparison
equal
deleted
inserted
replaced
559:6026569dbf64 | 560:daf4847b43ff |
---|---|
1237 if (ngx_utf8_decode(&next, len) > 0x10ffff) { | 1237 if (ngx_utf8_decode(&next, len) > 0x10ffff) { |
1238 /* invalid UTF-8 */ | 1238 /* invalid UTF-8 */ |
1239 break; | 1239 break; |
1240 } | 1240 } |
1241 | 1241 |
1242 len--; | |
1243 | |
1244 while (src < next) { | 1242 while (src < next) { |
1245 *++dst = *++src; | 1243 *dst++ = *src++; |
1246 len--; | 1244 len--; |
1247 } | 1245 } |
1248 } | 1246 } |
1249 | 1247 |
1250 *dst = '\0'; | 1248 *dst = '\0'; |