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

Steve Loughran commented on HADOOP-12088:
-----------------------------------------

yes to starts with, but the case conversion may also want to go 
{{toLower(EN_US)}} (oh, and handle a null content-type), which the first check 
does

> KMSClientProvider uses equalsIgnoreCase("application/json")
> -----------------------------------------------------------
>
>                 Key: HADOOP-12088
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12088
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms
>    Affects Versions: 2.7.1
>            Reporter: Steve Loughran
>            Assignee: Brahma Reddy Battula
>
> {{KMSClientProvider.call()}} validates the content type returned by going 
> {code}
> "application/json".equalsIgnoreCase(conn.getContentType())
> {code}
> that's not going to work in all locales, not if upper case is being returned. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to