From 94c4702c37c9a603e1e54e3692fdfad840822d05 Mon Sep 17 00:00:00 2001 From: "david g." Date: Mon, 25 Nov 2024 09:03:12 -0500 Subject: [PATCH] Update ContentTypeImpl.java Fixed issue with extra slash in Word Doc mimeType --- .../assetshare/content/properties/impl/ContentTypeImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/adobe/aem/commons/assetshare/content/properties/impl/ContentTypeImpl.java b/core/src/main/java/com/adobe/aem/commons/assetshare/content/properties/impl/ContentTypeImpl.java index a14a5c87d..fc5918e9f 100644 --- a/core/src/main/java/com/adobe/aem/commons/assetshare/content/properties/impl/ContentTypeImpl.java +++ b/core/src/main/java/com/adobe/aem/commons/assetshare/content/properties/impl/ContentTypeImpl.java @@ -67,7 +67,7 @@ public String[] getTypes() { private static final Map mimeTypeToLabelMap = ImmutableMap.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")