BUG-2511: disable external entitiy resolution with EXI 51/13651/2
authorRobert Varga <rovarga@cisco.com>
Mon, 15 Dec 2014 13:38:25 +0000 (14:38 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 16 Dec 2014 10:54:14 +0000 (11:54 +0100)
commit8350f87e0e1190fcc84099d3b7446a2f1de9e5f9
tree957d2ad7ba2dddb6d9cd2ff282471a547f1fde48
parent63d1393226781ef6fa1c2cf0cdba5f0b5240ab6e
BUG-2511: disable external entitiy resolution with EXI

OpenEXI transmogrifier can resolve external entities. This should never
be necessary in NETCONF context, so disallow that. The same goes for the
reader, but there we need to add a custom EntityResolver.

Change-Id: Idf4b7faf13063c88624f2ba16f3871679c072b3e
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/NetconfEXICodec.java
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/NetconfMessageToEXIEncoder.java