Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for uncu (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                name = name.substring(0, last);
            }
            if (context.share == null) {
                this.unc = "\\";
            } else if (context.unc.equals("\\")) {
                this.unc = '\\' + name;
            } else {
                this.unc = context.unc + '\\' + name;
            }
            /* why? am I going around in circles?
             *  this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
    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)
  5. 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)
  6. 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)
Back to Top