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 11:47:13 UTC

[jira] [Commented] (HTTPCLIENT-1305) GGSSchemeBase uses CHUNKED Base64 for Authorization header

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562594#comment-13562594 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1305:
-----------------------------------------------

Josef
Are you sure about that? By default no-arg Base64 constructor appears to disable chunking.  

---
    public Base64() {
        this(0);
    }
---

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