Hide Forgot
Description of problem: Using mod_headers when i specify an entry like this: RequestHeader merge Cookie .... early it does not merge the cookies if the incoming packet cookies are delimited by a semicolons, while if i don't use 'early' processing, an entry like this: RequestHeader merge Cookie ... env=!somevariable It does merge the cookies. Version-Release number of selected component (if applicable): httpd-2.2.14-1.2.6.jdk6.ep5.el5 How reproducible: 1. Setup an apache server and include the following outside a directory/location statement (according to http://httpd.apache.org/docs/current/mod/mod_headers.html ) RequestHeader merge Cookie cookiename2=valueX early RequestHeader merge Cookie cookiename1=valueY early 2. Send a request with the cookies already defined ( cookiename2=valueX and cookiename1=valueY ) Actual results: HTTP_COOKIE: cookiename1=valueY; cookiename2=valueX; cookiename1=valueY, cookiename2=valueX Expected results: HTTP_COOKIE: cookiename1=valueY, cookiename2=valueX Additional info:
Semicolon and comma are both recognized delimiters http://www.ietf.org/rfc/rfc2965.txt