summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/tomcat/files/5.5/webdav.patch')
-rw-r--r--www-servers/tomcat/files/5.5/webdav.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/www-servers/tomcat/files/5.5/webdav.patch b/www-servers/tomcat/files/5.5/webdav.patch
new file mode 100644
index 000000000000..80d6cae60ec9
--- /dev/null
+++ b/www-servers/tomcat/files/5.5/webdav.patch
@@ -0,0 +1,11 @@
+diff -Naur apache-tomcat-5.5.25-src_orig/container/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java apache-tomcat-5.5.25-src/container/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java
+--- apache-tomcat-5.5.25-src_orig/container/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java 2007-10-16 16:54:54.000000000 -0400
++++ apache-tomcat-5.5.25-src/container/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java 2007-10-16 16:56:57.000000000 -0400
+@@ -252,6 +252,7 @@
+ try {
+ documentBuilderFactory = DocumentBuilderFactory.newInstance();
+ documentBuilderFactory.setNamespaceAware(true);
++ documentBuilderFactory.setExpandEntityReferences(false);
+ documentBuilder = documentBuilderFactory.newDocumentBuilder();
+ } catch(ParserConfigurationException e) {
+ throw new ServletException