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

Hudson commented on TIKA-4174:
------------------------------

SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk11 #1457 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk11/1457/])
TIKA-4174 correct mime type for sip pcap (#1519) (github: 
[https://github.com/apache/tika/commit/0daea616af12c5f07fc0070418d5b7b180031440])
* (edit) tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml


> 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
>            Priority: Major
>
> There are situations where pcap files are having mime type being 
> misidentified as text/x-robots.  Specifically, when dealing with sip pcap 
> files.
> Sample files where this can be seen are
> [https://gitlab.com/wireshark/wireshark/-/wikis/uploads/__moin_import__/attachments/SampleCaptures/SIP_DTMF2.cap]
>  
> and
> [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)

Reply via email to