Mercurial > hg > nginx
changeset 2509:b4661481f198
the $ancient_browser variables did not treat as an ancient browser
listed in modern_browser, but has lower version
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 18 Feb 2009 09:23:47 +0000 |
parents | aa5e003d30bf |
children | fa03c3846ca4 |
files | src/http/modules/ngx_http_browser_module.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_browser_module.c +++ b/src/http/modules/ngx_http_browser_module.c @@ -339,6 +339,8 @@ ngx_http_browser(ngx_http_request_t *r, if (version >= modern[i].version) { return NGX_HTTP_MODERN_BROWSER; } + + return NGX_HTTP_ANCIENT_BROWSER; } if (!cf->modern_unlisted_browsers) {