comparison src/http/modules/ngx_http_browser_module.c @ 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 4c43e25d11ea
children fa03c3846ca4
comparison
equal deleted inserted replaced
2508:aa5e003d30bf 2509:b4661481f198
337 modern[i].version, version); 337 modern[i].version, version);
338 338
339 if (version >= modern[i].version) { 339 if (version >= modern[i].version) {
340 return NGX_HTTP_MODERN_BROWSER; 340 return NGX_HTTP_MODERN_BROWSER;
341 } 341 }
342
343 return NGX_HTTP_ANCIENT_BROWSER;
342 } 344 }
343 345
344 if (!cf->modern_unlisted_browsers) { 346 if (!cf->modern_unlisted_browsers) {
345 return NGX_HTTP_ANCIENT_BROWSER; 347 return NGX_HTTP_ANCIENT_BROWSER;
346 } 348 }