diff options
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); |