Skip to content

Commit

Permalink
Update ContentTypeImpl.java
Browse files Browse the repository at this point in the history
Fixed issue with extra slash in Word Doc mimeType
  • Loading branch information
davidjgonzalez authored Nov 25, 2024
1 parent d0bc728 commit 94c4702
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public String[] getTypes() {
private static final Map<String, String> mimeTypeToLabelMap = ImmutableMap.<String, String>builder()
.put("image/vnd.adobe.photoshop", "Photoshop")
.put("application/msword", "Word Doc")
.put("application//vnd.openxmlformats-officedocument.wordprocessingml.document", "Word Doc")
.put("application/vnd.openxmlformats-officedocument.wordprocessingml.document", "Word Doc")
.put("application/vnd.ms-excel", "Excel")
.put("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "Excel")
.put("application/vnd.ms-powerpoint", "PowerPoint")
Expand Down

0 comments on commit 94c4702

Please sign in to comment.