From bdb54b7c8a5df0e686490658067c9013ee43dd7a Mon Sep 17 00:00:00 2001 From: Raviteja Cherughattu Date: Wed, 29 Jul 2020 14:36:17 -0500 Subject: Medium Vulnerabilities CodeFix: Revert [Ref ID: 108330] Issue-ID: AAF-1115 Change-Id: I8e503ee84eb2771edbf2ed94f5d7f8f2e20812c7 Signed-off-by: Raviteja Cherughattu --- misc/xgen/src/main/java/org/onap/aaf/misc/xgen/Section.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'misc/xgen/src') diff --git a/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/Section.java b/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/Section.java index 0d41bd9b..fb429b3b 100644 --- a/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/Section.java +++ b/misc/xgen/src/main/java/org/onap/aaf/misc/xgen/Section.java @@ -28,7 +28,6 @@ import org.onap.aaf.misc.env.APIException; import org.onap.aaf.misc.env.Env; import org.onap.aaf.misc.env.Trans; import org.onap.aaf.misc.xgen.html.State; -import org.owasp.encoder.Encode; public class Section> { protected int indent; @@ -49,11 +48,11 @@ public class Section> { } public void forward(Writer w) throws IOException { - w.write(Encode.forJava(forward)); + w.write(forward); } public void back(Writer w) throws IOException { - w.write(Encode.forJava(backward)); + w.write(backward); } public String toString() { -- cgit 1.2.3-korg