Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
Description
Html escaped twice for the log entry,
We have lines like this:
06-Mar-2013 12:45:15 [INFO] [INFO] [bamboo:unit-test] 06-Mar-2013 12:45:15 [INFO] [INFO] surefire unit-test configuration: 06-Mar-2013 12:45:15 [INFO] [INFO] <?xml version="1.0" encoding="UTF-8"?> 06-Mar-2013 12:45:15 [INFO] <configuration> 06-Mar-2013 12:45:15 [INFO] <systemPropertyVariables/> 06-Mar-2013 12:45:15 [INFO] <excludes> 06-Mar-2013 12:45:15 [INFO] <exclude>it/**</exclude> 06-Mar-2013 12:45:15 [INFO] <exclude>**/*$*</exclude> 06-Mar-2013 12:45:15 [INFO] </excludes> 06-Mar-2013 12:45:15 [INFO] </configuration> 06-Mar-2013 12:45:15 [INFO] [INFO] [surefire:test] 06-Mar-2013 12:45:15 [INFO] [INFO] Tests are skipped. 06-Mar-2013 12:45:15 [INFO] [INFO] [bamboo:validate-manifest]
I think it's related with this line
SimpleLogEntry.java 52: return HtmlUtils.colorizeAnsiToHtml(HtmlUtils.getAsPreformattedText(log));
Colorized also escapes Html:
https://github.com/fusesource/jansi/blob/master/jansi/src/test/java/org/fusesource/jansi/HtmlAnsiOutputStreamTest.java
https://github.com/fusesource/jansi/blob/master/jansi/src/main/java/org/fusesource/jansi/HtmlAnsiOutputStream.java
Attachments
Issue Links
- copied to
-
BDEV-2156 Loading...