You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2009/06/23 01:55:15 UTC

[jira] Created: (WAGON-271) Provide configurability of httpclient parameters to allow user to tell Maven to ignore cookies

Provide configurability of httpclient parameters to allow user to tell Maven to ignore cookies
----------------------------------------------------------------------------------------------

                 Key: WAGON-271
                 URL: http://jira.codehaus.org/browse/WAGON-271
             Project: Maven Wagon
          Issue Type: Improvement
          Components: wagon-http
    Affects Versions: 1.0-beta-5
            Reporter: John Casey


in some cases, the server may issue session or other types of cookies without really needing to. At the same time, a single server path may have multiple alias paths that are redirected to allow migration from an old server layout to a newer one. If both of these are true, the cookie's Path attribute may be wrong for the path that Maven attempts to access. When that happens, the httpclient-based wagon will puke because of an invalid cookie.

If the cookie really isn't required, then httpclient should be configured to ignore cookies sent from the server. This configuration needs to be exposed so it can be managed from the settings.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (WAGON-271) Provide configurability of httpclient parameters to allow user to tell Maven to ignore cookies

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed WAGON-271.
----------------------------

         Assignee: John Casey
       Resolution: Fixed
    Fix Version/s: 1.0-beta-6

> Provide configurability of httpclient parameters to allow user to tell Maven to ignore cookies
> ----------------------------------------------------------------------------------------------
>
>                 Key: WAGON-271
>                 URL: http://jira.codehaus.org/browse/WAGON-271
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-http
>    Affects Versions: 1.0-beta-5
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 1.0-beta-6
>
>
> in some cases, the server may issue session or other types of cookies without really needing to. At the same time, a single server path may have multiple alias paths that are redirected to allow migration from an old server layout to a newer one. If both of these are true, the cookie's Path attribute may be wrong for the path that Maven attempts to access. When that happens, the httpclient-based wagon will puke because of an invalid cookie.
> If the cookie really isn't required, then httpclient should be configured to ignore cookies sent from the server. This configuration needs to be exposed so it can be managed from the settings.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira