mirror of
https://github.com/nginx/nginx.git
synced 2025-06-13 06:12:44 +08:00
style fix: remove tabs
This commit is contained in:
parent
17f0e66bd9
commit
9bc41a4281
@ -1536,24 +1536,24 @@ ngx_http_split_args(ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args)
|
|||||||
|
|
||||||
while (p < last) {
|
while (p < last) {
|
||||||
|
|
||||||
ch = *p++;
|
ch = *p++;
|
||||||
|
|
||||||
if (ch == '?') {
|
if (ch == '?') {
|
||||||
args->len = last - p;
|
args->len = last - p;
|
||||||
args->data = p;
|
args->data = p;
|
||||||
|
|
||||||
uri->len = p - 1 - uri->data;
|
uri->len = p - 1 - uri->data;
|
||||||
|
|
||||||
if (ngx_strlchr(p, last, '\0') != NULL) {
|
if (ngx_strlchr(p, last, '\0') != NULL) {
|
||||||
r->zero_in_uri = 1;
|
r->zero_in_uri = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ch == '\0') {
|
if (ch == '\0') {
|
||||||
r->zero_in_uri = 1;
|
r->zero_in_uri = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user