[logback-dev] [qos-ch/logback] 1f21d2: Escape characters in XMLLayout and HTMLLayout

Tony Trinh tony19 at gmail.com
Wed Dec 31 21:52:11 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: 1f21d2779c835b5c0d277342a9b16fcf268e4cf5
      https://github.com/qos-ch/logback/commit/1f21d2779c835b5c0d277342a9b16fcf268e4cf5
  Author: Gabriel Corona <gabriel.corona at enst-bretagne.fr>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  Changed paths:
    M logback-classic/pom.xml
    M logback-classic/src/main/java/ch/qos/logback/classic/html/HTMLLayout.java
    M logback-classic/src/main/java/ch/qos/logback/classic/log4j/XMLLayout.java
    A logback-classic/src/test/java/ch/qos/logback/classic/log4j/XMLLayoutTest.java
    M logback-core/src/main/java/ch/qos/logback/core/helpers/Transform.java
    M logback-site/src/site/pages/news.html

  Log Message:
  -----------
  Escape characters in XMLLayout and HTMLLayout

Fix LOGBACK-728 and LOGBACK-440.

Add unit test for XMLLayout: validate against log4j.dtd found in log4j
(added as a test dependency).

As log4j-over-slf4j is a test dependency as well we must take care to
have log4j-over-slf4j first in the classpath so that it can take
precedence over log4j.


  Commit: eb1f6d79c2a63c9359ff3c268bcaac562c3ba424
      https://github.com/qos-ch/logback/commit/eb1f6d79c2a63c9359ff3c268bcaac562c3ba424
  Author: Tony Trinh <tony19 at gmail.com>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  Changed paths:
    M logback-classic/pom.xml
    M logback-classic/src/main/java/ch/qos/logback/classic/html/HTMLLayout.java
    M logback-classic/src/main/java/ch/qos/logback/classic/log4j/XMLLayout.java
    A logback-classic/src/test/java/ch/qos/logback/classic/log4j/XMLLayoutTest.java
    M logback-core/src/main/java/ch/qos/logback/core/helpers/Transform.java
    M logback-site/src/site/pages/news.html

  Log Message:
  -----------
  Merge pull request #65 from randomstuff/bugfix-escape-xml

Escape XML &,",' in XMLLayout (LOGBACK-728)


Compare: https://github.com/qos-ch/logback/compare/6fa899bb5c3c...eb1f6d79c2a6


More information about the logback-dev mailing list