nginx/src
Ruslan Ermilov c09bba400d Referer: fixed $invalid_referer.
The variable was considered non-existent in the absence of any
valid_referers directives.

Given the following config snippet,

    location / {
        return 200 $invalid_referer;
    }

    location /referer {
        valid_referers server_names;
    }

"location /" should work identically and independently on other
"location /referer".

The fix is to always add the $invalid_referer variable as long
as the module is compiled in, as is done by other modules.
2017-08-04 08:01:55 +03:00
..
core Parenthesized ASCII-related calculations. 2017-07-17 17:23:51 +03:00
event SSL: fixed typo in the error message. 2017-07-25 17:21:59 +03:00
http Referer: fixed $invalid_referer. 2017-08-04 08:01:55 +03:00
mail Style: changed checks of ngx_ssl_create_connection() to != NGX_OK. 2017-05-29 16:34:35 +03:00
misc Style: aligned ngx_null_command. 2017-07-12 11:34:04 +03:00
os Style. 2017-06-01 16:49:14 +03:00
stream Upstream zone: store peers->name and its data in shared memory. 2017-08-01 19:12:10 +03:00