Skip to content

Commit

Permalink
SAK-25883 Update DavServlet for changes in Tomcat 8
Browse files Browse the repository at this point in the history
The URLDecode method has moved in Tomcat 8 to a different package/class.
This just points to the new location.
  • Loading branch information
buckett committed Apr 19, 2015
1 parent e0d9539 commit 7ccd8e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dav/dav/src/java/org/sakaiproject/dav/DavServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
import javax.xml.parsers.ParserConfigurationException;

import org.apache.catalina.util.DOMWriter;
import org.apache.tomcat.util.buf.UDecoder;
import org.sakaiproject.dav.MD5Encoder;
import org.apache.catalina.util.RequestUtil;
import org.apache.catalina.util.XMLWriter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Expand Down Expand Up @@ -3749,7 +3749,7 @@ private String getDestinationPath(HttpServletRequest req)
}
}

destinationPath = RequestUtil.URLDecode(normalize(destinationPath), "UTF8");
destinationPath = UDecoder.URLDecode(normalize(destinationPath), "UTF8");

return destinationPath;

Expand Down

0 comments on commit 7ccd8e8

Please sign in to comment.