Skip to content

Commit 228ca70

Browse files
committed
Merge branch 'master' of https://github.com/kwwall/esapi-java-legacy. Merging Dave Wicher's changes to ExtensiveEncoderURITest.java for Java 7 compilation error.
2 parents 85bdfc4 + 0bdbc93 commit 228ca70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/org/owasp/esapi/reference/ExtensiveEncoderURITest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import java.io.File;
66
import java.net.URL;
7+
import java.nio.charset.StandardCharsets;
78
import java.nio.file.Files;
89
import java.util.ArrayList;
910
import java.util.Collection;
@@ -36,7 +37,7 @@ public static Collection<String> getMyUris() throws Exception{
3637
String fileName = url.getFile();
3738
File urisForText = new File(fileName);
3839

39-
inputs = Files.readAllLines(urisForText.toPath());
40+
inputs = Files.readAllLines(urisForText.toPath(), StandardCharsets.UTF_8);
4041

4142
return inputs;
4243
}

0 commit comments

Comments
 (0)