NIHVIVO-3484 Assign the correct mime type to the missing_link image.

This commit is contained in:
j2blake 2012-06-26 20:52:15 +00:00
parent b223feedb2
commit 18a532b42c

View file

@ -97,6 +97,7 @@ public class FileServingServlet extends VitroHttpServlet {
} catch (Exception e) { } catch (Exception e) {
log.warn("Failed to serve the file at '" + path + "' -- " + e.getMessage()); log.warn("Failed to serve the file at '" + path + "' -- " + e.getMessage());
in = openMissingLinkImage(request); in = openMissingLinkImage(request);
mimeType = "image/png";
} }
/* /*