BUG-2511: disable external entitiy resolution with EXI
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)
commit0ae4481465cdf0ff5c6b432f7d4f35925904a80e
tree96ff04535fd559aa80525675a01476dc5d95859d
parent36c2334fea30008a939e99229a75abdabebfaf61
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