Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 295 for getPath (0.04 sec)

  1. src/main/java/jcifs/http/NetworkExplorer.java

            final ServletOutputStream out = resp.getOutputStream();
            String url;
            int n;
            try (SmbFileInputStream in = new SmbFileInputStream(file)) {
                url = file.getLocator().getPath();
                resp.setContentType("text/plain");
                resp.setContentType(URLConnection.guessContentTypeFromName(url));
                resp.setHeader("Content-Length", file.length() + "");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                }
            } catch (final IOException e) {
                throw new CrawlingAccessException("Could not access " + file.getPath(), e);
            }
        }
    
        /**
         * Processes allowed SIDs (Security Identifiers) and adds them to the SID set.
         * If the SID is a group, it recursively processes all group members.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), classifier, extension);
            try {
                // Log nothing as creating links should be very fast.
                Path source = artifact.getPath();
                if (!(Files.isRegularFile(target) && Files.isSameFile(source, target))) {
                    Files.createDirectories(target.getParent());
                    try {
                        Files.deleteIfExists(target);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. docs/smb3-features/01-smb3-lease-design.md

            int requestedState = isDirectory() ? 
                Smb2LeaseState.SMB2_LEASE_READ_HANDLE :
                Smb2LeaseState.SMB2_LEASE_FULL;
                
            leaseKey = leaseManager.requestLease(getPath(), requestedState);
            
            // Add lease context to create request
            if (createRequest != null) {
                createRequest.addLeaseContext(leaseKey, requestedState, 
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            String url, type;
            int n;
    
            try (SmbFileInputStream in = new SmbFileInputStream(file); ServletOutputStream out = resp.getOutputStream()) {
                url = file.getPath();
    
                resp.setContentType("text/plain");
    
                n = url.lastIndexOf('.');
                if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                logger.debug("Processing thumbnail: {}", entity);
            }
            final String generatorName = entity.getGenerator();
            try {
                final File outputFile = new File(baseDir, entity.getPath());
                final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX);
                if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                                        cookie.getName(), encoded.length(), cookie.getMaxAge(), cookie.getPath(), cookie.getDomain(),
                                        cookie.getSecure(), cookie.isHttpOnly(), fessConfig.getCookieSearchParameterSameSite());
                            }
                        });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. docs/smb3-features/06-witness-protocol-design.md

        // Perform normal tree connection
        super.connect();
        
        // Register for witness notifications for this share
        if (session.isWitnessEnabled()) {
            String shareName = getPath();  // e.g., "\\server\share"
            session.registerForWitnessNotifications(shareName);
        }
    }
    ```
    
    ### 5.3 File Handle Integration
    ```java
    // In SmbFile.java
    @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        public final void setErrorCode(final int errorCode) {
            this.errorCode = errorCode;
        }
    
        /**
         * @return the path
         */
        @Override
        public final String getPath() {
            return this.path;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getFullUNCPath()
         */
        @Override
        public String getFullUNCPath() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top