mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 12:01:09 +00:00
the $ancient_browser variables did not treat as an ancient browser
listed in modern_browser, but has lower version
This commit is contained in:
parent
8a3729da14
commit
7b9d3ce703
1 changed files with 2 additions and 0 deletions
|
|
@ -339,6 +339,8 @@ ngx_http_browser(ngx_http_request_t *r, ngx_http_browser_conf_t *cf)
|
|||
if (version >= modern[i].version) {
|
||||
return NGX_HTTP_MODERN_BROWSER;
|
||||
}
|
||||
|
||||
return NGX_HTTP_ANCIENT_BROWSER;
|
||||
}
|
||||
|
||||
if (!cf->modern_unlisted_browsers) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue