diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-02-18 09:23:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-02-18 09:23:47 +0000 |
commit | 7b9d3ce703cf842eff2a0136c1c57602e0623b46 (patch) | |
tree | 65f4c12c55a7da572cbf5b038ac5c049ea58147d /src/http/modules/ngx_http_browser_module.c | |
parent | 8a3729da14b993a79fe934cc6f6ea0cb2b5a6383 (diff) | |
download | nginx-7b9d3ce703cf842eff2a0136c1c57602e0623b46.tar.gz nginx-7b9d3ce703cf842eff2a0136c1c57602e0623b46.zip |
the $ancient_browser variables did not treat as an ancient browser
listed in modern_browser, but has lower version
Diffstat (limited to 'src/http/modules/ngx_http_browser_module.c')
-rw-r--r-- | src/http/modules/ngx_http_browser_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_browser_module.c b/src/http/modules/ngx_http_browser_module.c index 083375ba1..390b62f2a 100644 --- 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, 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) { |