comparison src/http/ngx_http_script.c @ 620:b4dcae568a2a NGINX_1_0_0

nginx 1.0.0 *) Bugfix: a cache manager might hog CPU after reload. Thanks to Maxim Dounin. *) Bugfix: an "image_filter crop" directive worked incorrectly coupled with an "image_filter rotate 180" directive. *) Bugfix: a "satisfy any" directive disabled custom 401 error page.
author Igor Sysoev <http://sysoev.ru>
date Tue, 12 Apr 2011 00:00:00 +0400
parents be70f83b184f
children 8dc007eddbcf
comparison
equal deleted inserted replaced
619:c4e0de226b0b 620:b4dcae568a2a
1087 1087
1088 ngx_unescape_uri(&dst, &src, e->pos - e->buf.data, 1088 ngx_unescape_uri(&dst, &src, e->pos - e->buf.data,
1089 NGX_UNESCAPE_REDIRECT); 1089 NGX_UNESCAPE_REDIRECT);
1090 1090
1091 if (src < e->pos) { 1091 if (src < e->pos) {
1092 dst = ngx_copy(dst, src, e->pos - src); 1092 dst = ngx_movemem(dst, src, e->pos - src);
1093 } 1093 }
1094 1094
1095 e->pos = dst; 1095 e->pos = dst;
1096 1096
1097 if (code->add_args && r->args.len) { 1097 if (code->add_args && r->args.len) {