mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
long user-agent bugfix
This commit is contained in:
parent
7c20ed8323
commit
ef3e5bd892
@ -244,7 +244,7 @@ ngx_http_browser_variable(ngx_http_request_t *r, ngx_http_variable_value_t *v,
|
|||||||
name += browsers[i].add;
|
name += browsers[i].add;
|
||||||
|
|
||||||
if (name >= last) {
|
if (name >= last) {
|
||||||
*v = ngx_http_variable_null_value;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user