From: Igor Sysoev Date: Wed, 18 Feb 2009 09:23:47 +0000 (+0000) Subject: the $ancient_browser variables did not treat as an ancient browser X-Git-Tag: release-0.7.36~4 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=7b9d3ce703cf842eff2a0136c1c57602e0623b46;p=nginx.git the $ancient_browser variables did not treat as an ancient browser listed in modern_browser, but has lower version --- 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) {