Skip to content

Commit

Permalink
Merge pull request #398 from finos/update-changes
Browse files Browse the repository at this point in the history
Added changes for release
  • Loading branch information
vaibhav-db committed May 31, 2023
2 parents 7d9eed9 + d8bc444 commit 2ca99f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,5 +233,12 @@ Major release of chat workflow. Most interfaces for this changed. See migratio
- #340 Running selfcontained spring boot jar (fat jar) fails on help command
- #282 Fix The PollBot
- Release 9.0.1


# May 31 2023

- #390 Improved documentation for FINOS Active badge
- #387 Fixed CVEs, rolled out FINOS Security Scanning
- #386 Fixed Teams File State Storage
- #380 Removing GPL-licensed dependency in Reminder Bot
- #378 Added retry logic for teams

Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
public class MessageMLParser extends AbstractContentParser<String, EntityJson>{

private static final Logger LOG = LoggerFactory.getLogger(PresentationMLHandler.class);

private SAXParserFactory factory = SAXParserFactory.newInstance();


static class TagFrame<X extends Tag> extends TextFrame<X> {

String id;
Expand Down Expand Up @@ -102,6 +100,8 @@ public Message apply(String message, EntityJson jsonObjects) {
Content [] out = { null };

try {
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
SAXParser saxParser = factory.newSAXParser();
saxParser.parse(new InputSource(new StringReader(message)), new DefaultHandler2() {

Expand Down

0 comments on commit 2ca99f1

Please sign in to comment.