Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getPaths (0.06 sec)

  1. src/archive/zip/reader_test.go

    			continue
    		}
    		var gotPaths []string
    		for _, f := range zr.File {
    			gotPaths = append(gotPaths, f.Name)
    		}
    		if !slices.Equal(gotPaths, []string{path}) {
    			t.Errorf("NewReader for archive with file %q: got files %q", path, gotPaths)
    			continue
    		}
    	}
    }
    
    func TestDisableInsecurePathCheck(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty("maven.conf"));
            } else if (systemProperties.getProperty(MAVEN_HOME) != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_HOME), "conf");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

         *            context to use
         * @throws MalformedURLException
         */
        public SmbFile ( URL url, CIFSContext tc ) throws MalformedURLException {
            super(url);
            if ( url.getPath() != null && !url.getPath().isEmpty() && url.getPath().charAt(0) != '/' ) {
                throw new MalformedURLException("Invalid SMB URL: " + url);
            }
            this.transportContext = tc;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                throw problems.newModelBuildingException();
            }
    
            if (modelSource instanceof FileModelSource) {
                model = model.withPomFile(((FileModelSource) modelSource).getPath());
            }
    
            Model retModel = new Model(model);
    
            problems.setSource(retModel);
    
            modelValidator.validateFileModel(retModel, request, problems);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    if ( request instanceof SmbComTreeConnectAndX ) {
                        SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX) request;
                        if ( this.netbiosName != null && tcax.getPath().endsWith("\\IPC$") ) {
                            /*
                             * Some pipes may require that the hostname in the tree connect
                             * be the netbios name. So if we have the netbios server name
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            case NtStatus.NT_STATUS_PATH_NOT_COVERED:
                // samba fails to report the proper status for some operations
            case 0xC00000A2: // NT_STATUS_MEDIA_WRITE_PROTECTED
                checkReferral(resp, req.getPath(), req);
            case NtStatus.NT_STATUS_BUFFER_OVERFLOW:
                break; /* normal for DCERPC named pipes */
            case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED:
                break; /* normal for NTLMSSP */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top