You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Joseph Goh (Jira)" <ji...@apache.org> on 2022/11/09 06:33:00 UTC
[jira] [Created] (TIKA-3922) Documentation: Tika Config Cors is not a boolean value
Joseph Goh created TIKA-3922:
--------------------------------
Summary: Documentation: Tika Config Cors is not a boolean value
Key: TIKA-3922
URL: https://issues.apache.org/jira/browse/TIKA-3922
Project: Tika
Issue Type: Bug
Components: tika-server
Affects Versions: 2.6.0, 2.5.0
Reporter: Joseph Goh
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]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)