Skip to content

Commit a607dba

Browse files
committed
Issue #316 -- Fixed error where I got rid of src/main/resources and also updated the unit test to use non-deprecated asserts.
1 parent 603408f commit a607dba

File tree

2 files changed

+101
-96
lines changed

2 files changed

+101
-96
lines changed

src/main/java/org/owasp/esapi/reference/DefaultSecurityConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,8 @@ private Properties loadConfigurationFromClasspath(String fileName) throws Illega
670670

671671
// try src/main/resources folder
672672
if (in == null) {
673-
currentClasspathSearchLocation = "resources/";
674-
in = currentLoader.getResourceAsStream("resources/" + fileName);
673+
currentClasspathSearchLocation = "src/main/resources/";
674+
in = currentLoader.getResourceAsStream("src/main/resources/" + fileName);
675675
}
676676

677677
// now load the properties

0 commit comments

Comments
 (0)