https://issues.apache.org/bugzilla/show_bug.cgi?id=44322

--- Comment #1 from Bill McGonigle <[email protected]> 2010-07-14 
17:51:12 EDT ---
This came up for me today with Tomcat's JSESSIONID which sets a path but not a
domain.

This is a sick, twisted, and clever work-around from Jason Butler:

Header edit Set-Cookie
"(JSESSIONID\s?=[^;,]+?)((?:;\s?(?:(?i)Comment|Max-Age|Path|Version|Secure)[^;,]*?)*)(;\s?(?:(?i)Domain\s?=)[^;,]+?)?((?:;\s?(?:(?i)Comment|Max-Age|Path|Version|Secure)[^;,]*?)*)(,|$)"
"$1$2; Domain=.example.com$4$5"

but it would be better to have native support for this.  I'd prefer the NULL
magic word approach.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to