the $ancient_browser variables did not treat as an ancient browser

listed in modern_browser, but has lower version
This commit is contained in:
Igor Sysoev 2009-02-18 09:23:47 +00:00
parent 8a3729da14
commit 7b9d3ce703

View File

@ -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) {