Skip to content

Commit

Permalink
fixes #2187 move EncoderWrapper to sanitizer-config module (#2188)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu authored Mar 23, 2024
1 parent 72f680d commit 6c39a94
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions sanitizer-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<groupId>com.networknt</groupId>
<artifactId>config</artifactId>
</dependency>
<dependency>
<groupId>org.owasp.encoder</groupId>
<artifactId>encoder</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand All @@ -53,6 +57,11 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.networknt.sanitizer;

import org.owasp.encoder.EncoderWrapper;
import org.junit.Test;
import org.mockito.Mockito;
import org.owasp.encoder.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.networknt.sanitizer;

import com.networknt.body.BodyHandler;
import com.networknt.config.Config;
import com.networknt.handler.Handler;
import com.networknt.handler.MiddlewareHandler;
Expand All @@ -27,7 +26,6 @@
import io.undertow.server.HttpServerExchange;
import io.undertow.util.HeaderMap;
import io.undertow.util.HeaderValues;
import io.undertow.util.HttpString;
import org.owasp.encoder.EncoderWrapper;
import org.owasp.encoder.Encoders;

Expand Down

0 comments on commit 6c39a94

Please sign in to comment.