1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Rewrite mime type image/pjpeg to image/jpeg

Fixes issue 1712
This commit is contained in:
cketti 2011-07-07 03:05:12 +02:00
parent 9c5ccd3b82
commit d310167b99

View File

@ -883,7 +883,8 @@ public class MimeUtility {
* Table format: wrong type, correct type
*/
private static final String[][] MIME_TYPE_REPLACEMENT_MAP = new String[][] {
{"image/jpg", "image/jpeg"}
{"image/jpg", "image/jpeg"},
{"image/pjpeg", "image/jpeg"} // see issue 1712
};
public static String unfold(String s) {