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

Documentation: Tika Config Cors is not a boolean value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.0, 2.6.0
    • 2.7.0
    • tika-server
    • None

    Description

      Documentation in XML config file is outdated.

      In the tika server config, the <cors> element doesn't support the option "all".

      However, the "*" option works to allow all origins.

       

      See:

      https://github.com/apache/tika/blob/2.6.0/tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerProcess.java#L354

      https://github.com/apache/tika/blob/2.5.0/tika-server/tika-server-core/src/main/resources/tika-server-config-default.xml#L40

      Attachments

        Activity

          People

            Unassigned Unassigned
            PotatoCider Joseph Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: