Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

embedded variable $cookie_YYY and "-" symbol. (3 replies)

$
0
0
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>