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:22:52 GMT
Repository: cxf
Updated Branches:
  refs/heads/master a77bc949e -> 267622c64


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/267622c6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/267622c6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/267622c6

Branch: refs/heads/master
Commit: 267622c645564bfa5ae82dc6b11d83b8797e119f
Parents: a77bc94
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:22:36 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/267622c6/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