[jira] [Commented] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Nick Burch (Jira)
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416044#comment-17416044 ] Nick Burch commented on TIKA-3554: -- Just to emphasise what Tim has written, file type detection in Apache

[jira] [Commented] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Tim Allison (Jira)
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416039#comment-17416039 ] Tim Allison commented on TIKA-3554: --- I second [~nick]'s recommendation to wrap your stream in a

[jira] [Commented] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Tim Allison (Jira)
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416040#comment-17416040 ] Tim Allison commented on TIKA-3554: --- Shall we close this as not a problem? > Detect plain text file as

[jira] [Comment Edited] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Jira
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416018#comment-17416018 ] Krisztián Gyula Tóth edited comment on TIKA-3554 at 9/16/21, 10:01 AM:

[jira] [Commented] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Jira
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416018#comment-17416018 ] Krisztián Gyula Tóth commented on TIKA-3554: [~nick] Thanks for mentioning

[jira] [Commented] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Nick Burch (Jira)
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416009#comment-17416009 ] Nick Burch commented on TIKA-3554: -- If possible, wrap your {{InputStream}} as a {{TikaInputStream}}

[jira] [Commented] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Jira
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17415997#comment-17415997 ] Krisztián Gyula Tóth commented on TIKA-3554: I think I found the solution and I will use the: 

[jira] [Updated] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Jira
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Krisztián Gyula Tóth updated TIKA-3554: --- Description: *Update:* Tika detect only gets 3400bytes peeked from the input stream

[jira] [Commented] (TIKA-3554) Detect plain text file as application/zip based on file ext wrong

2021-09-16 Thread Jira
[ https://issues.apache.org/jira/browse/TIKA-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17415925#comment-17415925 ] Krisztián Gyula Tóth commented on TIKA-3554: I'm using Tika core. We tried earlier with Tika