You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Benjamine Franklin (Jira)" <ji...@apache.org> on 2019/12/25 22:20:00 UTC

[jira] [Updated] (HTTPCLIENT-2041) AuthenticationStrategy#select() assumes challanges key to be lowercase

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

Benjamine Franklin updated HTTPCLIENT-2041:
-------------------------------------------
    Attachment: received_573126376807010.gif

> AuthenticationStrategy#select() assumes challanges key to be lowercase
> ----------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2041
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2041
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>    Affects Versions: 5.0 Beta6
>            Reporter: Michael Osipov
>            Priority: Major
>         Attachments: received_573126376807010.gif
>
>
> While working on branch {{consistent-use-authschemes#id}} I have noticed that {{AuthenticationStrategy#select()}} assumes all keys to be lowercase authPrefs are lowercased during comparsion. Unforatunately, the Javadoc of this method does not document this at all which can leave to subtile bugs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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