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
1 changed files with 2 additions and 1 deletions

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) {