You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2018/09/07 08:38:52 UTC
[sling-org-apache-sling-commons-log] branch master updated:
SLING-7884 - Sanitize output of appender names
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-log.git
The following commit(s) were added to refs/heads/master by this push:
new 8f46d53 SLING-7884 - Sanitize output of appender names
8f46d53 is described below
commit 8f46d53bcbf60db3ad2a21b176b044c493de02a6
Author: Devin Duffy-Halseth <de...@aexp.com>
AuthorDate: Mon Aug 20 10:44:02 2018 -0700
SLING-7884 - Sanitize output of appender names
Closes #1
---
.../org/apache/sling/commons/log/logback/internal/SlingLogPanel.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java b/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java
index df83601..ac0004b 100644
--- a/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java
+++ b/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java
@@ -572,7 +572,7 @@ public class SlingLogPanel implements LogPanel {
return;
}
}
- pw.printf("No appender with name [%s] found", appenderName);
+ pw.printf("No appender with name [%s] found", XmlUtil.escapeXml(appenderName));
}
private String getLinkedName(FileAppender<ILoggingEvent> appender) throws UnsupportedEncodingException {