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

KMSClientProvider uses equalsIgnoreCase("application/json")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • kms
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: