hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1305) GGSSchemeBase uses CHUNKED Base64 for Authorization header
Date Fri, 25 Jan 2013 13:25:13 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-1305.
-------------------------------------------

    Resolution: Fixed

I tweaked GGSSchemeBase and BasicSCheme classes to make sure they always explicitly disable
chunking when applying BASE64 encoding.

Please review / re-test

http://svn.apache.org/viewvc?view=revision&revision=1438494

Oleg
                
> GGSSchemeBase uses CHUNKED Base64 for Authorization header
> ----------------------------------------------------------
>
>                 Key: HTTPCLIENT-1305
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1305
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2.3
>            Reporter: Josef Cacek
>            Priority: Minor
>             Fix For: 4.2.4, 4.3 Alpha2
>
>
> The {{GGSSchemeBase}} member variable {{base64codec}} should not use chunked instance
of the Base64.
> Instead of
> {code}
> this.base64codec = new Base64();
> {code}
> there should be
> {code}
> //constructor with lineLength int argument. If lineLength <= 0, then the output will
not be divided into lines (chunks)
> this.base64codec = new Base64(0);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message