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 --- auth/auth-core/pom.xml | 7 +------ .../src/main/java/org/onap/aaf/auth/rserv/CachingFileAccess.java | 5 ++--- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'auth/auth-core') diff --git a/auth/auth-core/pom.xml b/auth/auth-core/pom.xml index 972b12cb..bef94675 100644 --- a/auth/auth-core/pom.xml +++ b/auth/auth-core/pom.xml @@ -106,12 +106,7 @@ org.slf4j slf4j-log4j12 - - - org.owasp.encoder - encoder - 1.2.1 - + diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/CachingFileAccess.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/CachingFileAccess.java index b342c428..cdda50db 100644 --- a/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/CachingFileAccess.java +++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/CachingFileAccess.java @@ -53,7 +53,6 @@ import org.onap.aaf.misc.env.EnvJAXB; import org.onap.aaf.misc.env.LogTarget; import org.onap.aaf.misc.env.Store; import org.onap.aaf.misc.env.Trans; -import org.owasp.encoder.Encode; /* * CachingFileAccess * @@ -430,9 +429,9 @@ public class CachingFileAccess extends HttpCode"); - w.append(Encode.forJava(f.getName())); + w.append(f.getName()); w.append("\n"); } w.append(F); -- cgit 1.2.3-korg