You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2019/06/18 03:06:43 UTC
[openmeetings] branch master updated: [OPENMEETINGS-2042] another
attempt to fix DBF
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new cc64e1b [OPENMEETINGS-2042] another attempt to fix DBF
cc64e1b is described below
commit cc64e1b91d51ce00c13afb362cc1fb95ddb7b1b5
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Tue Jun 18 10:06:32 2019 +0700
[OPENMEETINGS-2042] another attempt to fix DBF
---
.../java/org/apache/openmeetings/cli/ConnectionPropertiesPatcher.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/openmeetings-install/src/main/java/org/apache/openmeetings/cli/ConnectionPropertiesPatcher.java b/openmeetings-install/src/main/java/org/apache/openmeetings/cli/ConnectionPropertiesPatcher.java
index 9839b41..18ef24a 100644
--- a/openmeetings-install/src/main/java/org/apache/openmeetings/cli/ConnectionPropertiesPatcher.java
+++ b/openmeetings-install/src/main/java/org/apache/openmeetings/cli/ConnectionPropertiesPatcher.java
@@ -87,6 +87,7 @@ public abstract class ConnectionPropertiesPatcher {
private static Document getDocument(File xml) throws Exception {
DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
+ dbFactory.setExpandEntityReferences(false);
dbFactory.setAttribute(XMLConstants.FEATURE_SECURE_PROCESSING, true);
DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
return dBuilder.parse(xml);