Add files using upload-large-folder tool
Browse files- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-emitter.xml +33 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-fetcher-template.xml +34 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-timeout-10000.xml +28 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-tls-one-way-template.xml +39 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-tls-two-way-template.xml +42 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-tls.xml +41 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server.xml +32 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/logging/log4j2_forked.xml +45 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/ssl-keys/tika-client-truststore.p12 +0 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/french.txt +1 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/encrypted_document_exception.xml +23 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/fake_oom.xml +24 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/heavy_hang_100.xml +25 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/heavy_hang_30000.xml +25 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/hello_world_long.xml +30 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/null_pointer.xml +25 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/testStaticStdOutErr.xml +76 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/thread_interrupt.xml +25 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/中文.xml +27 -0
- local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/testDigilite.fdf +1 -0
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-emitter.xml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<server>
|
| 20 |
+
<taskTimeoutMillis>120000</taskTimeoutMillis>
|
| 21 |
+
<port>9999</port>
|
| 22 |
+
<maxFiles>1000</maxFiles>
|
| 23 |
+
<forkedJvmArgs>
|
| 24 |
+
<arg>-Xmx512m</arg>
|
| 25 |
+
</forkedJvmArgs>
|
| 26 |
+
<enableUnsecure>true</enableUnsecure>
|
| 27 |
+
<endpoints>
|
| 28 |
+
<endpoint>emit</endpoint>
|
| 29 |
+
<endpoint>async</endpoint>
|
| 30 |
+
<endpoint>status</endpoint>
|
| 31 |
+
</endpoints>
|
| 32 |
+
</server>
|
| 33 |
+
</properties>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-fetcher-template.xml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<fetchers>
|
| 20 |
+
<fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
|
| 21 |
+
<name>fsf</name>
|
| 22 |
+
<basePath>{FETCHER_BASE_PATH}</basePath>
|
| 23 |
+
</fetcher>
|
| 24 |
+
</fetchers>
|
| 25 |
+
<server>
|
| 26 |
+
<port>{PORT}</port>
|
| 27 |
+
<taskTimeoutMillis>54321</taskTimeoutMillis>
|
| 28 |
+
<enableUnsecureFeatures>true</enableUnsecureFeatures>
|
| 29 |
+
<noFork>true</noFork>
|
| 30 |
+
<endpoints>
|
| 31 |
+
<endpoint>tika</endpoint>
|
| 32 |
+
</endpoints>
|
| 33 |
+
</server>
|
| 34 |
+
</properties>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-timeout-10000.xml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<server>
|
| 20 |
+
<port>9999</port>
|
| 21 |
+
<taskTimeoutMillis>10000</taskTimeoutMillis>
|
| 22 |
+
<taskPulseMillis>100</taskPulseMillis>
|
| 23 |
+
<maxFiles>20</maxFiles>
|
| 24 |
+
<forkedJvmArgs>
|
| 25 |
+
<arg>-Xmx512m</arg>
|
| 26 |
+
</forkedJvmArgs>
|
| 27 |
+
</server>
|
| 28 |
+
</properties>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-tls-one-way-template.xml
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<server>
|
| 20 |
+
<port>9999</port>
|
| 21 |
+
<taskTimeoutMillis>1000000</taskTimeoutMillis>
|
| 22 |
+
<minimumTimeoutMillis>10000</minimumTimeoutMillis>
|
| 23 |
+
<maxFiles>10000</maxFiles>
|
| 24 |
+
<forkedJvmArgs>
|
| 25 |
+
<arg>-Xmx1g</arg>
|
| 26 |
+
</forkedJvmArgs>
|
| 27 |
+
<endpoints>
|
| 28 |
+
<endpoint>rmeta</endpoint>
|
| 29 |
+
</endpoints>
|
| 30 |
+
<tlsConfig>
|
| 31 |
+
<active>true</active>
|
| 32 |
+
<keyStoreType>PKCS12</keyStoreType>
|
| 33 |
+
<keyStorePassword>tika-secret</keyStorePassword>
|
| 34 |
+
<keyStoreFile>{SSL_KEYS}/tika-server-keystore.p12</keyStoreFile>
|
| 35 |
+
<clientAuthenticationWanted>false</clientAuthenticationWanted>
|
| 36 |
+
<clientAuthenticationRequired>false</clientAuthenticationRequired>
|
| 37 |
+
</tlsConfig>
|
| 38 |
+
</server>
|
| 39 |
+
</properties>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-tls-two-way-template.xml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<server>
|
| 20 |
+
<port>9999</port>
|
| 21 |
+
<taskTimeoutMillis>1000000</taskTimeoutMillis>
|
| 22 |
+
<minimumTimeoutMillis>10000</minimumTimeoutMillis>
|
| 23 |
+
<maxFiles>10000</maxFiles>
|
| 24 |
+
<forkedJvmArgs>
|
| 25 |
+
<arg>-Xmx1g</arg>
|
| 26 |
+
</forkedJvmArgs>
|
| 27 |
+
<endpoints>
|
| 28 |
+
<endpoint>rmeta</endpoint>
|
| 29 |
+
</endpoints>
|
| 30 |
+
<tlsConfig>
|
| 31 |
+
<active>true</active>
|
| 32 |
+
<keyStoreType>PKCS12</keyStoreType>
|
| 33 |
+
<keyStorePassword>tika-secret</keyStorePassword>
|
| 34 |
+
<keyStoreFile>{SSL_KEYS}/tika-server-keystore.p12</keyStoreFile>
|
| 35 |
+
<trustStoreType>PKCS12</trustStoreType>
|
| 36 |
+
<trustStorePassword>tika-secret</trustStorePassword>
|
| 37 |
+
<trustStoreFile>{SSL_KEYS}/tika-server-truststore.p12</trustStoreFile>
|
| 38 |
+
<clientAuthenticationWanted>true</clientAuthenticationWanted>
|
| 39 |
+
<clientAuthenticationRequired>true</clientAuthenticationRequired>
|
| 40 |
+
</tlsConfig>
|
| 41 |
+
</server>
|
| 42 |
+
</properties>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server-tls.xml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<server>
|
| 20 |
+
<port>9999</port>
|
| 21 |
+
<taskTimeoutMillis>54321</taskTimeoutMillis>
|
| 22 |
+
<minimumTimeoutMillis>10</minimumTimeoutMillis>
|
| 23 |
+
<enableUnsecureFeatures>true</enableUnsecureFeatures>
|
| 24 |
+
<maxFiles>20</maxFiles>
|
| 25 |
+
<forkedJvmArgs>
|
| 26 |
+
<arg>-Xmx2g</arg>
|
| 27 |
+
</forkedJvmArgs>
|
| 28 |
+
<endpoints>
|
| 29 |
+
<endpoint>rmeta</endpoint>
|
| 30 |
+
</endpoints>
|
| 31 |
+
<tlsConfig>
|
| 32 |
+
<active>true</active>
|
| 33 |
+
<keyStoreType>myType</keyStoreType>
|
| 34 |
+
<keyStorePassword>pass</keyStorePassword>
|
| 35 |
+
<keyStoreFile>/something/or/other</keyStoreFile>
|
| 36 |
+
<trustStoreType>myType2</trustStoreType>
|
| 37 |
+
<trustStorePassword>pass2</trustStorePassword>
|
| 38 |
+
<trustStoreFile>/something/or/other2</trustStoreFile>
|
| 39 |
+
</tlsConfig>
|
| 40 |
+
</server>
|
| 41 |
+
</properties>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/configs/tika-config-server.xml
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<server>
|
| 20 |
+
<port>9999</port>
|
| 21 |
+
<taskTimeoutMillis>54321</taskTimeoutMillis>
|
| 22 |
+
<minimumTimeoutMillis>10</minimumTimeoutMillis>
|
| 23 |
+
<enableUnsecureFeatures>true</enableUnsecureFeatures>
|
| 24 |
+
<maxFiles>20</maxFiles>
|
| 25 |
+
<forkedJvmArgs>
|
| 26 |
+
<arg>-Xmx2g</arg>
|
| 27 |
+
</forkedJvmArgs>
|
| 28 |
+
<endpoints>
|
| 29 |
+
<endpoint>rmeta</endpoint>
|
| 30 |
+
</endpoints>
|
| 31 |
+
</server>
|
| 32 |
+
</properties>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/logging/log4j2_forked.xml
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
|
| 19 |
+
<log4j:configuration debug="true">
|
| 20 |
+
<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
|
| 21 |
+
<param name="Target" value="System.out"/>
|
| 22 |
+
<layout class="org.apache.log4j.PatternLayout">
|
| 23 |
+
<!-- Pattern to output the caller's file name and line number -->
|
| 24 |
+
<!--<param name="ConversionPattern" value="%5p [%t] (%F:%L) - %m%n"/>-->
|
| 25 |
+
<param name="ConversionPattern" value="%m%n"/>
|
| 26 |
+
</layout>
|
| 27 |
+
</appender>
|
| 28 |
+
<appender name="stderr" class="org.apache.log4j.ConsoleAppender">
|
| 29 |
+
<param name="Target" value="System.err"/>
|
| 30 |
+
<layout class="org.apache.log4j.PatternLayout">
|
| 31 |
+
<!-- Pattern to output the caller's file name and line number -->
|
| 32 |
+
<!--<param name="ConversionPattern" value="%5p [%t] (%F:%L) - %m%n"/>-->
|
| 33 |
+
<param name="ConversionPattern" value="%m%n"/>
|
| 34 |
+
</layout>
|
| 35 |
+
</appender>
|
| 36 |
+
<logger name="org.apache" additivity="true">
|
| 37 |
+
<level value="warn"/>
|
| 38 |
+
<appender-ref ref="stdout"/>
|
| 39 |
+
</logger>
|
| 40 |
+
<logger name="org.apache.cxf" additivity="true">
|
| 41 |
+
<level value="warn"/>
|
| 42 |
+
<appender-ref ref="stderr"/>
|
| 43 |
+
</logger>
|
| 44 |
+
|
| 45 |
+
</log4j:configuration>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/ssl-keys/tika-client-truststore.p12
ADDED
|
Binary file (3.43 kB). View file
|
|
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/french.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
c’est comme ci comme ça
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/encrypted_document_exception.xml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<throw class="org.apache.tika.exception.EncryptedDocumentException">encrypted document exception</throw>
|
| 23 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/fake_oom.xml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<throw class="java.lang.OutOfMemoryError">oom message</throw>
|
| 24 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/heavy_hang_100.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="100" heavy="true" pulse_millis="50"/>
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/heavy_hang_30000.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="30000" heavy="true" pulse_millis="100"/>
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/hello_world_long.xml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<metadata action="add" name="title">你好,世界</metadata>
|
| 24 |
+
<metadata action="add" name="my-key">parsers-value</metadata>
|
| 25 |
+
<write element="p">Hello world...</write>
|
| 26 |
+
<write element="p">When in the Course of human events, it becomes necessary for one people to dissolve the
|
| 27 |
+
political bands which have connected them with another, and to assume among the powers of the earth, the
|
| 28 |
+
separate and equal station to which the Laws of Nature and of Nature’s God entitle them, a decent respect
|
| 29 |
+
to the opinions of mankind requires that they should declare the causes which impel them to the separation.</write>
|
| 30 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/null_pointer.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<throw class="java.lang.NullPointerException">null pointer message</throw>
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/testStaticStdOutErr.xml
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<mock>
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
<!-- action can be "add" or "set" -->
|
| 26 |
+
<metadata action="add" name="dc:creator">Nikolai Lobachevsky</metadata>
|
| 27 |
+
<!-- element is the name of the sax event to write, p=paragraph
|
| 28 |
+
if the element is not specified, the default is <p> -->
|
| 29 |
+
<hang millis="100" heavy="false"/>
|
| 30 |
+
<write element="p">hello world!</write>
|
| 31 |
+
<!-- write something to System.out -->
|
| 32 |
+
<print_out>writing to System.out</print_out>
|
| 33 |
+
<hang millis="10" heavy="false"/>
|
| 34 |
+
<print_out static="true" random="200000"/>
|
| 35 |
+
<hang millis="10" heavy="false"/>
|
| 36 |
+
<print_out static="true" random="200000"/>
|
| 37 |
+
<hang millis="10" heavy="false"/>
|
| 38 |
+
<print_out static="true" random="200000"/>
|
| 39 |
+
<hang millis="10" heavy="false"/>
|
| 40 |
+
<print_err static="true" random="200000"/>
|
| 41 |
+
<hang millis="10" heavy="false"/>
|
| 42 |
+
<print_err static="true" random="200000"/>
|
| 43 |
+
<hang millis="10" heavy="false"/>
|
| 44 |
+
<print_out>writing to System.out</print_out>
|
| 45 |
+
<hang millis="80" heavy="false"/>
|
| 46 |
+
<print_out>writing to System.out</print_out>
|
| 47 |
+
<hang millis="70" heavy="false"/>
|
| 48 |
+
<print_out>writing to System.out</print_out>
|
| 49 |
+
<hang millis="60" heavy="false"/>
|
| 50 |
+
<print_out>writing to System.out</print_out>
|
| 51 |
+
<hang millis="20" heavy="false"/>
|
| 52 |
+
<print_out>writing to System.out</print_out>
|
| 53 |
+
<hang millis="10" heavy="false"/>
|
| 54 |
+
<print_out>writing to System.out</print_out>
|
| 55 |
+
<hang millis="30" heavy="false"/>
|
| 56 |
+
<print_out>writing to System.out</print_out>
|
| 57 |
+
<hang millis="10" heavy="false"/>
|
| 58 |
+
<print_out>writing to System.out</print_out>
|
| 59 |
+
<hang millis="10" heavy="false"/>
|
| 60 |
+
<print_out>writing to System.out</print_out>
|
| 61 |
+
<hang millis="20" heavy="false"/>
|
| 62 |
+
<print_out>writing to System.out</print_out>
|
| 63 |
+
<hang millis="20" heavy="false"/>
|
| 64 |
+
<print_out>writing to System.out</print_out>
|
| 65 |
+
<hang millis="30" heavy="false"/>
|
| 66 |
+
<print_out>writing to System.out</print_out>
|
| 67 |
+
<hang millis="10" heavy="false"/>
|
| 68 |
+
<print_out>writing to System.out</print_out>
|
| 69 |
+
<hang millis="50" heavy="false"/>
|
| 70 |
+
<!-- write something to System.err -->
|
| 71 |
+
<print_err>writing to System.err</print_err>
|
| 72 |
+
|
| 73 |
+
<write element="p">Even after the calls to Sys.out/err...hello world! the quick brown fox jumped over the lazy dog
|
| 74 |
+
</write>
|
| 75 |
+
|
| 76 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/thread_interrupt.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<thread_interrupt/>
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/mock/中文.xml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<metadata action="add" name="title">你好,世界</metadata>
|
| 24 |
+
<metadata action="add" name="my-key">parsers-value</metadata>
|
| 25 |
+
<write element="p">Hello world...</write>
|
| 26 |
+
<write element="p">你好世界</write>
|
| 27 |
+
</mock>
|
local-test-tika-full-01-vuln_1/afc-tika/tika-server/tika-server-core/src/test/resources/test-documents/testDigilite.fdf
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
D+
|