comparison src/http/modules/ngx_http_referer_module.c @ 310:95d92ec39071 NGINX_0_5_25

nginx 0.5.25 *) Bugfix: nginx could not be built with the --without-http_rewrite_module parameter; bug appeared in 0.5.24.
author Igor Sysoev <http://sysoev.ru>
date Mon, 11 Jun 2007 00:00:00 +0400
parents 5bef04fc3fd5
children 429900ca25ee
comparison
equal deleted inserted replaced
309:638a3e67d37d 310:95d92ec39071
350 } 350 }
351 351
352 continue; 352 continue;
353 } 353 }
354 354
355 p = (u_char *) ngx_strstr(value[i].data, "/"); 355 p = (u_char *) ngx_strchr(value[i].data, '/');
356 356
357 if (p) { 357 if (p) {
358 uri.len = (value[i].data + value[i].len) - p; 358 uri.len = (value[i].data + value[i].len) - p;
359 uri.data = p; 359 uri.data = p;
360 value[i].len = p - value[i].data; 360 value[i].len = p - value[i].data;