- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for uncu (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/util/PathValidator.java
return normalized; } /** * Validate UNC path */ private void validateUncPath(String path) throws SmbException { // UNC path should have format: \\server\share[\path] if (!path.startsWith("\\\\") && !path.startsWith("//")) { throw new SmbException("Invalid UNC path format"); } String[] parts = path.substring(2).split("[\\\\/]");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
strictValidator.validatePath("//server\u0001/share"); }); // Note: Proper UNC validation would require fixing the normalization to preserve \\ // for UNC paths. Current implementation can't distinguish UNC paths after normalization. } @Test public void testInvalidUncServerName() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
if (log.isDebugEnabled()) { log.debug("treeConnect: unc=" + unc + ",service=" + svc); } if (transport.isSMB2()) { final Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(sess.getConfig(), unc); if (andx != null) { req.chain((ServerMessageBlock2) andx);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
SmbFile file = new SmbFile(baseUrl + "shared/unc.txt", context); String uncPath = file.getUncPath(); assertNotNull(uncPath, "UNC path should not be null"); log.info("UNC path: {}", uncPath); // Be more flexible about UNC path format - different implementations may vary assertTrue(uncPath.contains("shared") || uncPath.contains("unc.txt"),
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
assertEquals(0, ((List<?>) pom.getValue("modules")).size()); } /** MNG-3621 */ @Test void testUncPath() throws Exception { PomTestWrapper pom = this.buildPom("unc-path/sub"); assertEquals("file:////host/site/test-child", pom.getValue("distributionManagement/site/url")); } /** MNG-2006 */ @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 94.8K bytes - Click Count (0)