Hello!

On Wed, Dec 16, 2015 at 11:13:16PM +0000, Daniel K. wrote:

[...]

> Warn when using a variable as the data value in geo blocks
> 
> Since the geo module does not expand variables, warn when a variable is
> used as the data value; as in the default entry of:
> 
> geo $geo {
>       default         $foobar;
>       192.168.2.1     '';
> }

As the geo module is currently probably the only way to insert 
plain '$' into a place which expands variables, I'm not sure if 
it's a good idea to add such a patch, at least before we'll 
resolve the '$' escaping issue.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to