- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testWhitelist (0.72 seconds)
-
src/test/java/jcifs/util/PathValidatorTest.java
// Should allow other paths String allowed = validator.validatePath("\\share\\allowed\\file.txt"); assertEquals("\\share\\allowed\\file.txt", allowed); } @Test public void testWhitelist() throws Exception { validator.addToWhitelist("\\share\\allowed"); // Should allow whitelisted path String allowed = validator.validatePath("\\share\\allowed\\file.txt");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0)