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 2013/01/25 14:25:13 UTC
[jira] [Resolved] (HTTPCLIENT-1305) GGSSchemeBase uses CHUNKED
Base64 for Authorization header
[ 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