[ 
https://issues.apache.org/jira/browse/TIKA-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631084#comment-17631084
 ] 

Tim Allison commented on TIKA-3922:
-----------------------------------

Thank you.  Good catch.  I updated our the example config file and 
https://cwiki.apache.org/confluence/display/TIKA/TikaServer+in+Tika+2.x

> 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.5.0, 2.6.0
>            Reporter: Joseph Goh
>            Priority: Minor
>
> 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)

Reply via email to