Dotted cookie name as proxy_cache_key problem

SergeyZh nginx-forum at nginx.us
Thu Mar 11 18:38:47 MSK 2010


Thanks a lot Maxim!

I've changed 
(^|[;,])jetbrains\.charisma\.main\.security\.PRINCIPAL=([^;,]+)($|[;,])
to
(.*)jetbrains\.charisma\.main\.security\.PRINCIPAL=([^;,]+)($|[;,])
because your regexp didn't matched my cookie and now everything is working.

How cpu expensive these calculations ? Should I try to patch Nginx to allow dot's in cookie name or I can use this solution without any overhead ?

Thanks,
Sergey

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,62326,62736#msg-62736




More information about the nginx mailing list