This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new 5ea8bbf16 [TIKA-4300] Add audio/aac as an alias for the audio/x-aac
MIME type (#1930)
5ea8bbf16 is described below
commit 5ea8bbf1644a593ed22ee5c7608ba33aff949d5d
Author: Jøger Hansegård <[email protected]>
AuthorDate: Tue Aug 27 22:02:36 2024 +0200
[TIKA-4300] Add audio/aac as an alias for the audio/x-aac MIME type (#1930)
The audio/x-aac is deprecated, and replaced by audio/aac. Having
audio/aac as an alias for the deprecated type makes it possible to
recognize the audio/aac MIME type.
---
tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 1 +
1 file changed, 1 insertion(+)
diff --git
a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index c027e7a0d..d66824ae4 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -5880,6 +5880,7 @@
<mime-type type="audio/vnd.vmx.cvsd"/>
<mime-type type="audio/vorbis-config"/>
<mime-type type="audio/x-aac">
+ <alias type="audio/aac"/>
<glob pattern="*.aac"/>
<magic priority="30">
<!-- Without ID3 tags -->