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

Illegal Charset Name crashes HTMLParser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.8
    • parser
    • None

    Description

      As reported by Andrzej [1], the HTMLParser crashes when the charset found in meta is illegal e.g.

      <meta http-equiv="Content-Type" content="text/html; charset=ISO 8859-1"/>

      [1] http://mail-archives.apache.org/mod_mbox/tika-user/201006.mbox/%3C4C2A102D.7090703@getopt.org%3E

      Attachments

        1. TIKA-454.patch
          2 kB
          Julien Nioche

        Issue Links

          Activity

            People

              jnioche Julien Nioche
              jnioche Julien Nioche
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: