Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12088

KMSClientProvider uses equalsIgnoreCase("application/json")

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: kms
    • Labels:
      None

      Description

      KMSClientProvider.call() validates the content type returned by going

      "application/json".equalsIgnoreCase(conn.getContentType())
      

      that's not going to work in all locales, not if upper case is being returned.

        Attachments

        1. HADOOP-12088.patch
          1 kB
          Brahma Reddy Battula

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: