Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 172 for Crawling (4.8 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

            // Test duplicate slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder"));
    
            // Test trailing slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\"));
        }
    
        @Test
        public void testDirectoryTraversal() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

         */
        private String getName(final String objectName) {
            if (StringUtil.isBlank(objectName)) {
                return StringUtil.EMPTY;
            }
            // Remove trailing slash if present
            String name = objectName;
            if (name.endsWith("/")) {
                name = name.substring(0, name.length() - 1);
            }
            final String[] values = name.split("/");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("special", result.getServer());
            }
    
            @Test
            @DisplayName("Should adjust path consumed for trailing slash")
            void testFromReferralWithTrailingSlash() {
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * referrals. Nested resources will inherit the information already resolved by the parent resource.
     *
     * Invariant:
     * A directory resource must have a trailing slash/backslash for both URL and UNC path at all times.
     *
     * @author mbechler
     *
     */
    class SmbResourceLocatorImpl implements SmbResourceLocatorInternal, Cloneable {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        void testGetNameVariants() {
            // file name from deep path
            SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt");
            assertEquals("file.txt", a.getName());
    
            // share name with trailing slash when only share present
            SmbResourceLocatorImpl b = locator("smb://server/share/");
            assertEquals("share/", b.getName());
    
            // host when no path/share
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * <code>SmbResource</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <code>SmbResource</code>s will maintain the trailing slash requirement.
         *
         * @return The last component of the URL associated with this SMB
         *         resource or <code>smb://</code> if the resource is <code>smb://</code>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/test/java/jcifs/netbios/NameTest.java

            assertTrue(length >= 34);
            assertEquals(0x20, dst[0]);
        }
    
        @Test
        void readWireFormat_withTrailingSpaces_shouldTrimCorrectly() {
            // Prepare encoded data for "TEST    " (with trailing spaces)
            byte[] src = new byte[100];
            src[0] = 0x20;
    
            // Encode "TEST" correctly
            // T=0x54: upper nibble 0x5->F(0x46), lower nibble 0x4->E(0x45)
            src[1] = 'F';
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        @Override
        public void setPath(String path) {
            if (path.length() > 0 && path.charAt(0) == '\\') {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                 * path is just "\" and not "\example.com\root".
                 */
                link = "\\";
            } else if (path.charAt(path.length() - 1) == '\\') {
                // strip trailing slash
                link = path.substring(0, path.length() - 1);
            } else {
                link = path;
            }
    
            if (log.isTraceEnabled()) {
                log.trace("Initial link is " + link);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <glob pattern="*.vss"/>
        <glob pattern="*.vsw"/>
        <sub-class-of type="application/x-tika-msoffice"/>
      </mime-type>
    
      <mime-type type="application/vnd.ms-visio.drawing">
        <_comment>Office Open XML Visio Drawing (macro-free)</_comment>
        <glob pattern="*.vsdx"/>
        <sub-class-of type="application/x-tika-visio-ooxml"/>
      </mime-type>
      <mime-type type="application/vnd.ms-visio.template">
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (2)
Back to top