Created attachment 34876 [details]
Test case illustrating the issue. JSP file.
Tested with Safari 4.0.2 with Windows XP SP2.
If the cookie version is set to '1' in either WebLogic or Tomcat, and the path is set, then the value is quoted:
Set-Cookie: Customer="WILE_E_COYOTE"; Version="1"; Path="/"
Which is correct behaviour according to RFC 2109 (examples in section 5). The problem is that Safari treats the quotes as if they were part of the part, rather than simply surrounding the path. This can be observed by trying to read the cookie value back on the server when the browser points to the root of the server:
Also, when looking at the cookies in the preferences, the path shown is:
I have attached a JSP file as a test case.
Cookie parsing is not handled by WebKit. This issue will be tracked via the Radar that you filed.