You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/07/14 23:51:15 UTC
DO NOT REPLY [Bug 44322] mod_proxy ProxyPassReverseCookieDomain with
no domain set in cookie cannot set a domain
https://issues.apache.org/bugzilla/show_bug.cgi?id=44322
--- Comment #1 from Bill McGonigle <bi...@bfccomputing.com> 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org