embedded variable $cookie_YYY and "-" symbol.

Igor Karymov ingham.k at gmail.com
Mon Feb 18 11:54:33 UTC 2013

Hi all. I observe unexpected behavior when trying to use $cookie_YYY
embended variable when cookie name include "-" symbol.

set $uwaver $cookie_un-uwa-version;

$uwaver always equal to "-uwa-version" string instead of real cookie value.

maybe i should use some kind of escaping here?

nginx -v
nginx version: nginx/1.2.7

uname -a
Linux cabal 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130218/53779d37/attachment.html>

More information about the nginx mailing list