- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for invalidHost (0.05 sec)
-
src/main/java/jcifs/util/PathValidator.java
if (host == null || host.isEmpty()) { throw new SmbException("SMB URL missing host"); } // Validate host format if (!isValidHost(host)) { throw new SmbException("Invalid host in SMB URL"); } // Validate path component String path = url.getPath();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
void testDefaultPort(int invalidPort) throws Exception { // Given: Create a new pool for this test to ensure isolation SmbTransportPoolImpl testPool = new SmbTransportPoolImpl(); when(ctx.getTransportPool()).thenReturn(testPool); // Connection with invalid port SmbTransportImpl first = testPool.getSmbTransport(ctx, address, invalidPort, false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0)