Fix for CVE-2022-24891 in ESAPI/esapi-java-legacy (project ESAPI__esapi-java-legacy_CVE-2022-24891_2.2.3.1), commit 096aa60d6441fce4c632b36b36fdf5f53799c29a
Fixed file: src/main/java/org/owasp/esapi/reference/DefaultValidator.java
Fixed class: DefaultValidator (lines 69-1253)
Fixed method: getValidDirectoryPath (lines 447-481)
Method signature: String getValidDirectoryPath(String,String,File,boolean)