You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/27 22:04:45 UTC

DO NOT REPLY [Bug 16474] New: - Unable to obtain correct data for version, path, or domain information from Cookie

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16474>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16474

Unable to obtain correct data for version, path, or domain information from Cookie

           Summary: Unable to obtain correct data for version, path, or
                    domain information from Cookie
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Other
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM


Using a simple client that sends a cookie per RFC 2109:

Cookie: $Version=1; CookieName=CookieValue; $Path=/; $Domain=.test.com

On the server side, HttpServletRequest.getCookies() returns an array of Cookies
with 1 element.  Cookie.getName() and Cookie.getValue() both return the expected
values, bug Cookie.getVersion() returns 0, and Cookie.getDomain() and
Cookie.getPath() returns null.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>