Index: trunk/phase3/includes/MimeMagic.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | image/png png |
26 | 26 | image/svg+xml image/svg svg |
27 | 27 | image/tiff tiff tif |
28 | | -image/vnd.djvu djvu |
| 28 | +image/vnd.djvu image/x.djvu image/x-djvu djvu |
29 | 29 | image/x-portable-pixmap ppm |
30 | 30 | text/plain txt |
31 | 31 | text/html html htm |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1603,9 +1603,11 @@ |
1604 | 1604 | 'image/png' => 'BitmapHandler', |
1605 | 1605 | 'image/gif' => 'BitmapHandler', |
1606 | 1606 | 'image/x-ms-bmp' => 'BmpHandler', |
1607 | | - 'image/svg+xml' => 'SvgHandler', |
1608 | | - 'image/svg' => 'SvgHandler', |
1609 | | - 'image/vnd.djvu' => 'DjVuHandler', |
| 1607 | + 'image/svg+xml' => 'SvgHandler', // official |
| 1608 | + 'image/svg' => 'SvgHandler', // compat |
| 1609 | + 'image/vnd.djvu' => 'DjVuHandler', // official |
| 1610 | + 'image/x.djvu' => 'DjVuHandler', // compat |
| 1611 | + 'image/x-djvu' => 'DjVuHandler', // compat |
1610 | 1612 | ); |
1611 | 1613 | |
1612 | 1614 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -80,6 +80,7 @@ |
81 | 81 | * (bug 11474) Fix unintentional fall-through in math error handling |
82 | 82 | * (bug 11478) Fix undefined method call in file deletion interface |
83 | 83 | * (bug 278) Search results no longer highlight incorrect partial word matches |
| 84 | +* Compatibility with incorrectly detected old-style DJVU mime types |
84 | 85 | |
85 | 86 | |
86 | 87 | === API changes in 1.12 === |