Fixed XF\Http\Upload::analyzeAudio() function reads aac as mp3


Active member
Affected version
While writing an addon that adds support for additional audio formats, I noticed a strange bug? If you upload an .aac file with the mime type 'audio/x-hx-aac-adts', the XF\Http\Upload::analyzeAudio() function detects it as an .mp3 file.

.acc file contains:
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.14).

Change log:
Improve audio mime-type detection
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom