- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for LPT9 (0.02 seconds)
-
src/main/java/jcifs/util/PathValidator.java
private static final Set<String> WINDOWS_RESERVED = Set.of("CON", "PRN", "AUX", "NUL", "COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8", "COM9", "LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9"); // Configuration private final int maxPathLength; private final int maxComponentLength; private final boolean allowUncPaths; private final boolean strictMode;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
}); } @Test public void testWindowsReservedLPT() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\LPT9.doc"); }); } @Test public void testDangerousCharacters() throws Exception { assertThrows(SmbException.class, () -> {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)