Period(.) is used in cokie name

Hello

One of my clients use period(.) as cookie name start.
(ex Set-Cookie: .blabla=abcd)

Is it possible to use period(.) in a cookie name?

If possible, how can I use $cookie_COOKIE variable ?

Best Regards

On 23 March 2012 02:56, chaepil lim [email protected] wrote:

Hello

One of my clients use period(.) as cookie name start.
(ex Set-Cookie: .blabla=abcd)

Is it possible to use period(.) in a cookie name?

I don’t know if things have improved since
Dotted cookie name as proxy_cache_key problem - NGINX - Ruby-Forum

Jonathan

On Mar 22, 2012, at 9:56 PM, chaepil lim wrote:

If possible, how can I use $cookie_COOKIE variable ?

I think you can access those in embedded Lua or Perl.

Hello!

On Fri, Mar 23, 2012 at 09:23:46AM -0400, Brian A. wrote:

On Mar 22, 2012, at 9:56 PM, chaepil lim wrote:

If possible, how can I use $cookie_COOKIE variable ?

I think you can access those in embedded Lua or Perl.

Just vanilla map module should do the trick (if/set will do too,
but map is better).

The link already provided in this thread contains if/set based
solution. Map-based solution will be similar (it’s now possible
as regexp support was added to map module).

Maxim D.