hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37526] New: - warn on invalid set-cookie header
Date Wed, 16 Nov 2005 15:09:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37526

           Summary: warn on invalid set-cookie header
           Product: HttpClient
           Version: 3.0 RC3
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HttpCookie
        AssignedTo: httpclient-dev@jakarta.apache.org
        ReportedBy: ndeloof@capgemini.fr


I had a problem on a WS server that comes from some proxy misconfiguration...
resulting in this reponse beeing received by HTTPclient :
17:26:36,489 DEBUG [header] << "HTTP/1.1 200 OK[\r][\n]"
17:26:36,489 DEBUG [header] << "Set-Cookie: =f448bb59feedbaaabaee; path=/[\r][\n]"
17:26:36,489 DEBUG [header] << "Date: Tue, 15 Nov 2005 16:26:36 GMT[\r][\n]"
17:26:36,489 DEBUG [header] << "Server: Apache[\r][\n]"
17:26:36,489 DEBUG [header] << "Connection: close[\r][\n]"
17:26:36,489 DEBUG [header] << "Transfer-Encoding: chunked[\r][\n]"
17:26:36,489 DEBUG [header] << "Content-Type: text/xml;charset=utf-8[\r][\n]"

The set-cookie header is malformed, as cookie has no name, so the HTTP head may
be considered invalid.

This results in an error when building the NEXT request. I'd expect httpclient
to WARN on malformed header and drop it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message