So this is my map

map $http_cookie $session_id_value {
default '';
"~^.*[0-9a-f]{32}\=(?<session_value>[\w]{1,}+).*$" $session_value;
}


The cookie name = a MD5 sum the full / complete value of the cookie seems to
cut of at a plus + symbol

What would the correct regex to be to ignore / remove + symbols from
"session_value"

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,273182,273182#msg-273182

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to