You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2009/06/01 22:03:07 UTC

[jira] Resolved: (HTTPCLIENT-853) Wrong cookie matching port number reported when using a proxy

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-853.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0 Beta 3

Fixed in SVN trunk. Please verify.

Oleg

> Wrong cookie matching port number reported when using a proxy
> -------------------------------------------------------------
>
>                 Key: HTTPCLIENT-853
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-853
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient, HttpCookie
>    Affects Versions: 4.0 Beta 1, 4.0 Beta 2
>         Environment: Proxy: tinyproxy 1.6.4
>            Reporter: Charles Fr Rey
>             Fix For: 4.0 Beta 3
>
>
> Following the example given in https://issues.apache.org/jira/browse/HTTPCLIENT-852 and the route HttpRoute[{}->http://xyz.webfactional.com:7295->http://www.seoconsultants.com]:
> one of the new cookies is reported to be added as:
> [java] 2009/05/28 19:58:23:398 CEST [DEBUG] RequestAddCookies - Cookie [version: 0][name: ASPSESSIONIDCSARBQBA][value: MAMPAMKCBDJJFKNAAPKPMDAA][domain: www.seoconsultants.com][path: /][expiry: null] match [www.seoconsultants.com:7295/]
> whereas it should be:
> [java] 2009/05/28 19:57:46:667 CEST [DEBUG] RequestAddCookies - Cookie [version: 0][name: ASPSESSIONIDCSARBQBA][value: AAMPAMKCMBINHNEHPFEBFADA][domain: www.seoconsultants.com][path: /][expiry: null] match [www.seoconsultants.com:80/]
> i.e. the same as without using a proxy. 7295 is the port number used to access the proxy. The target domain www.seoconsultants.com is accessed through the regular HTTP port number 80, thus the cookie matching should also refer to port 80 and not the proxy's port.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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