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

MediaType fails to parse charset that has quoted value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: mime
    • Labels:
      None

      Description

      If a mime type is

      text/html; charset="UTF-8"

      the value is incorrectly "UTF-8" not UTF-8

      patch available at https://github.com/osi/tika/commit/b77814874ebff8f412ebb2f2adc52c6465d603c4

      i have a CLA on file.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              proyal peter royal
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: