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

Media-type handling depends on the locale

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: mime
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: