Don't include stacktraces in REST responses 72/68272/3
authorEvan Zeller <evanrzeller@gmail.com>
Mon, 22 Jan 2018 20:12:38 +0000 (12:12 -0800)
committerJakubToth <jakub.toth@pantheon.tech>
Sun, 25 Feb 2018 19:38:45 +0000 (19:38 +0000)
commit71938242835c4f4b9e98477b4dc708d0737a87c6
tree7bf1e9dd26ca82935975ad0eb14f93be497a4651
parent157463962c0fc4d0f9923c192a7fda520681e450
Don't include stacktraces in REST responses

OWASP best practices recommend user facing error messages should not
contain stack traces or line numbers. The full stack trace should still be available in karaf.log.

Change-Id: Ia8ffed91ecdbf8a1d299c90c33882bbc18d55b50
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestconfDocumentedException.java