Skip to content

Commit

Permalink
SAK-28090 Preserve previous value of content type.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.sakaiproject.org/svn/dav/trunk@315497 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
juanjmerono committed Nov 18, 2014
1 parent bb8ed09 commit f8ab2fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dav/dav/src/java/org/sakaiproject/dav/DavServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -2783,6 +2783,7 @@ protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws Se
else
{
edit = contentHostingService.editResource(resourcePath);
contentType = edit.getContentType();
}

edit.setContentType(contentType);
Expand Down

0 comments on commit f8ab2fc

Please sign in to comment.