This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 65a9348dc8 Avoid using prefix 65a9348dc8 is described below commit 65a9348dc8488a6df6b8bf35d219e3bba08a890c Author: remm <r...@apache.org> AuthorDate: Thu Oct 31 16:02:42 2024 +0100 Avoid using prefix --- java/org/apache/catalina/servlets/WebdavServlet.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java b/java/org/apache/catalina/servlets/WebdavServlet.java index ad6338b550..55719089d3 100644 --- a/java/org/apache/catalina/servlets/WebdavServlet.java +++ b/java/org/apache/catalina/servlets/WebdavServlet.java @@ -2621,9 +2621,8 @@ public class WebdavServlet extends DefaultServlet implements PeriodicEventListen if (propertyNotFound != null) { generatedXML.writeElement("D", propertyNotFound, XMLWriter.NO_CONTENT); } else { - generatedXML.writeElement(propertyNotFoundNode.getPrefix(), - propertyNotFoundNode.getNamespaceURI(), propertyNotFoundNode.getLocalName(), - XMLWriter.NO_CONTENT); + generatedXML.writeElement(null, propertyNotFoundNode.getNamespaceURI(), + propertyNotFoundNode.getLocalName(), XMLWriter.NO_CONTENT); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org