Commit dea5c2fc839 for php
commit dea5c2fc8396d2e17d256ed3f40af3b068195631
Author: Dhrupo Nil <dhrupo@gmail.com>
Date: Sat Oct 31 03:59:28 2026 +0000
UPGRADING: Note the TrueType font MIME type change in fileinfo (#25073)
Following the file 5.48 update and the fix in GH-25063, fileinfo reports
TrueType fonts as font/ttf rather than the font/sfnt used in PHP 8.5
and earlier.
Document this in the PHP 8.6 upgrade notes so applications with MIME
type allow-lists, including WordPress font uploads, can account for
the changed value.
Closes #25073
diff --git a/UPGRADING b/UPGRADING
index eed6864abb4..3fe0fe11163 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -966,6 +966,7 @@ PHP 8.6 UPGRADE NOTES
- Fileinfo:
. Upgraded to file 5.48.
Custom compiled magic databases from older file versions must be regenerated.
+ . TrueType fonts are now detected as font/ttf instead of font/sfnt.
- Hash:
. The bundled version of xxHash was upgraded to 0.8.2.