Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-404

Media-type handling depends on the locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.7
    • 0.8
    • mime
    • None

    Description

      As reported by Elif T. Kus on tika-user@, the media type handling code in Tika is locale-dependant. The MediaType class uses the String.toLowerCase() to normalize media type names, which is a good idea in general since types are supposed to be case insensitive, but unfortunately the toLowerCase() method returns different results based on the default locale of the platform.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: