subbudvk commented on PR #3708:
URL: https://github.com/apache/tika/pull/3708#issuecomment-7367200129
Thanks @tballison I had looked at this in
https://github.com/apache/tika/pull/3705. If I read it right, with
DefaultDetector on this branch a file named a.txt containing
{"a":"<html><body>x</body></html>","b":1} is detected as
application/json, where it was text/plain before. The same seems to happen
for .js and .csv files. Is this intended? I was thinking the JSON result could
apply only when the name is .json, unknown or absent, so a known non-JSON name
is left
alone. I'm happy to go with your approach if you prefer it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]