https://bz.apache.org/bugzilla/show_bug.cgi?id=62208
Bug ID: 62208
Summary: ProxyPassReverseCookieDomain replaces cookie value
instead of domain if cookie name ends with "domain"
Product: Apache httpd-2
Version: 2.4.29
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
i stumbled upon this, when i tried to set a domain for a "domainless"
proxied cookie (related: Bug 44322, thanx for the
ProxyPassReverseCookiePath path trick ;-) )
How to reproduce
response header line from origin server
Set-Cookie: MYDOMAIN=test.somewhere.com; domain=.somewhere.com
proxy directive
ProxyPassReverseCookieDomain somewhere.com other.somewhere.com
results in response header from proxy
Set-Cookie: MYDOMAIN=other.somewhere.com; domain=.somewhere.com
but should be
Set-Cookie: MYDOMAIN=test.somewhere.com; domain=other.somewhere.com
BUG: value instead of domain was replaced
same for ProxyPassReverseCookiePath
the search/replace should start after the corresponding separator ";"
--
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]