httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44322] mod_proxy ProxyPassReverseCookieDomain with no domain set in cookie cannot set a domain
Date Wed, 14 Jul 2010 21:51:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44322

--- Comment #1 from Bill McGonigle <bill+apache@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


Mime
View raw message