cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Updating the default Atom properties
Date Tue, 22 Nov 2016 17:24:11 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 062c8ac92 -> 37b616d3e


Updating the default Atom properties


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/37b616d3
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/37b616d3
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/37b616d3

Branch: refs/heads/3.1.x-fixes
Commit: 37b616d3e542f4b8adb131171a4fad337278be5c
Parents: 062c8ac
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Nov 22 17:22:36 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Nov 22 17:23:52 2016 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/jaxrs/provider/atom/AbstractAtomProvider.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/37b616d3/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/atom/AbstractAtomProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/atom/AbstractAtomProvider.java
b/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/atom/AbstractAtomProvider.java
index 19f9fb5..179ee66 100644
--- a/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/atom/AbstractAtomProvider.java
+++ b/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/atom/AbstractAtomProvider.java
@@ -89,6 +89,7 @@ public abstract class AbstractAtomProvider<T extends Element>
             ParserOptions options = parser.getDefaultParserOptions();
             if (options != null) {
                 options.setAutodetectCharset(autodetectCharset);
+                options.setResolveEntities(false);
             }
         }
         Document<T> doc = parser.parse(is);


Mime
View raw message