# HG changeset patch # User Ruslan Ermilov # Date 1362629494 -14400 # Node ID 9fce700e56d3a641fe8eeceb45d0677f47212435 # Parent 0ed7670778bbdbbff0303484f2926e6ad77bc78b If: only empty strings and "0" evaluate to false. Before version 1.0.1, any string starting with "0" was considered a false value. diff -r 0ed7670778bb -r 9fce700e56d3 xml/en/docs/http/ngx_http_rewrite_module.xml --- a/xml/en/docs/http/ngx_http_rewrite_module.xml Mon Mar 11 15:40:39 2013 +0400 +++ b/xml/en/docs/http/ngx_http_rewrite_module.xml Thu Mar 07 08:11:34 2013 +0400 @@ -10,7 +10,7 @@ + rev="4">
@@ -98,7 +98,11 @@ a variable name; false if the value of a variable is an empty string -or any string starting with “0”; +or “0”; + +Before version 1.0.1, any string starting with “0” +was considered a false value. + diff -r 0ed7670778bb -r 9fce700e56d3 xml/ru/docs/http/ngx_http_rewrite_module.xml --- a/xml/ru/docs/http/ngx_http_rewrite_module.xml Mon Mar 11 15:40:39 2013 +0400 +++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml Thu Mar 07 08:11:34 2013 +0400 @@ -10,7 +10,7 @@ + rev="4">
@@ -98,7 +98,11 @@ имя переменной; ложными значениями переменной являются пустая строка -или любая строка, начинающаяся на “0”; +или “0”; + +До версии 1.0.1 ложным значением также являлась любая строка, +начинающаяся на “0”. +