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/04/28 17:59:44 UTC

[jira] Commented: (MNG-4147) very long passwords cause LightweightHTTP wagon to line-wrap the Base64-encoded Authorization header

    [ http://jira.codehaus.org/browse/MNG-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174490#action_174490 ] 

John Casey commented on MNG-4147:
---------------------------------

We should move to the httpclient-based http wagon to avoid problems in Sun's HTTPURLConnection code.

> very long passwords cause LightweightHTTP wagon to line-wrap the Base64-encoded Authorization header
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4147
>                 URL: http://jira.codehaus.org/browse/MNG-4147
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1.0
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.1.1
>
>
> I'll cross-file (and link) this issue into wagon, but Sun's HTTPURLConnection implementation uses a line-wrapping Base64 implementation. When passwords are very long, this causes an invalid HTTP request, since the Authorization header's value is line-wrapped.

-- 
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