You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nissim Shiman (Jira)" <ji...@apache.org> on 2023/12/20 17:50:00 UTC
[jira] [Created] (TIKA-4174) sip pcap mime type being misidentified as x-robots
Nissim Shiman created TIKA-4174:
-----------------------------------
Summary: sip pcap mime type being misidentified as x-robots
Key: TIKA-4174
URL: https://issues.apache.org/jira/browse/TIKA-4174
Project: Tika
Issue Type: Bug
Affects Versions: 2.9.1
Reporter: Nissim Shiman
There are situations where pcap files are having mime type being misidentified as text/x-robots. Specifically, when dealing with sip pcap files.
A sample file where this can be seen is https://gitlab.com/wireshark/wireshark/-/wikis/uploads/__moin_import__/attachments/SampleCaptures/DTMFsipinfo.pcap
The issue is that it meets the x-robots criteria of \nuser-agent: and \nallow: (which are also typical in sip pcap files),
https://github.com/apache/tika/blob/2.9.1/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml#L2142-L2143
but pcap has a lower priority
Could something be done for this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)