ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-677) add an endpoint property to set the CookiePolicy
Date Thu, 08 Oct 2009 17:32:31 GMT

    [ https://issues.apache.org/jira/browse/ODE-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763581#action_12763581
] 

Alexis Midon commented on ODE-677:
----------------------------------

I found a workaround. You should be able to set a different cookie policy with a system property:
apache.commons.httpclient.cookiespec

The expected value are: COMPATIBILITY, NETSCAPE_DRAFT and RFC2109.
For some reasons RFC2965 is not accepted.

Keep in mind that this behavior is flagged as deprecated in Http Commons. So it might not
work anymore if we upgrade httpclient jar.


> add an endpoint property to set the CookiePolicy
> ------------------------------------------------
>
>                 Key: ODE-677
>                 URL: https://issues.apache.org/jira/browse/ODE-677
>             Project: ODE
>          Issue Type: Improvement
>            Reporter: Alexis Midon
>            Priority: Minor
>
> There are several at times conflicting standards for handling Cookies: the Netscape Cookie
draft, RFC2109, RFC2965 and a large number of vendor specific implementations that are compliant
with neither specification.
> Some web services break the default cookie policy (RFC2109), like the path attribute.
(Cf. the log message below)
>  l file this improvement request so that we can configure the cookie policy per service
with a new endpoint property. cookie.policy, for instance?
> More information on cookie policies: http://hc.apache.org/httpclient-3.x/cookies.html
> More information on endpoint properties: http://ode.apache.org/user-guide.html#UserGuide-EndpointConfiguration
> 17:45:17,654 WARN [org.apache.commons.httpclient.HttpMethodBase] [ODEServer-7] Cookie
rejected: "$Version=0; _blinksale_session=BAh7BzoPc2Vzc2lvbl9pZCIlYjRiMzViM2E2MjZiMmI0ZmExNzA2ODRjYjA2ODJiYjk6DnJldHVybl90byINL2NsaWVudHM%3D--6dcead660658b158d5acc72ba8e3a670ba4ee8c6;
$Path=/; $Domain=.blinksale.com". Illegal path attribute "/". Path of origin: "http://shiva.blinksale.com/clients"

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


Mime
View raw message