diff options
author | Raviteja Cherughattu <rc835m@att.com> | 2020-07-29 14:36:17 -0500 |
---|---|---|
committer | Raviteja Cherughattu <rc835m@att.com> | 2020-07-29 14:36:17 -0500 |
commit | bdb54b7c8a5df0e686490658067c9013ee43dd7a (patch) | |
tree | ce291e2172a5440d877baedf6214c84823c21c13 /auth/auth-core | |
parent | de75a11f03d87b53f7a2b5525c8fc66f6053aef2 (diff) |
Medium Vulnerabilities CodeFix: Revert [Ref ID: 108330]
Issue-ID: AAF-1115
Change-Id: I8e503ee84eb2771edbf2ed94f5d7f8f2e20812c7
Signed-off-by: Raviteja Cherughattu <rc835m@att.com>
Diffstat (limited to 'auth/auth-core')
-rw-r--r-- | auth/auth-core/pom.xml | 7 | ||||
-rw-r--r-- | auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/CachingFileAccess.java | 5 |
2 files changed, 3 insertions, 9 deletions
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 @@ <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> - </dependency> - <dependency> - <groupId>org.owasp.encoder</groupId> - <artifactId>encoder</artifactId> - <version>1.2.1</version> - </dependency> + </dependency> </dependencies> <build> 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<TRANS extends Trans> extends HttpCode<TRANS, Void w.append(name); w.append('/'); } - w.append(Encode.forJava(f.getName())); + w.append(f.getName()); w.append("\">"); - w.append(Encode.forJava(f.getName())); + w.append(f.getName()); w.append("</a></li>\n"); } w.append(F); |