Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for valid_share (0.66 sec)

  1. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            netdfs.DfsInfo200 entry1 = new netdfs.DfsInfo200();
            entry1.dfs_name = null;
            arrayWithNulls.s[0] = entry1;
    
            netdfs.DfsInfo200 entry2 = new netdfs.DfsInfo200();
            entry2.dfs_name = "valid_share";
            arrayWithNulls.s[1] = entry2;
    
            // Replace the info.e field
            setDfsEnumArray(dfsRootEnum, arrayWithNulls);
    
            // Test getEntries handles nulls
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

        private static final Pattern VALID_USERNAME = Pattern.compile("^[a-zA-Z0-9._\\-@]+$");
        private static final Pattern VALID_DOMAIN = Pattern.compile("^[a-zA-Z0-9._\\-]+$");
        private static final Pattern VALID_SHARE = Pattern.compile("^[a-zA-Z0-9._\\-$]+$");
        private static final Pattern PATH_TRAVERSAL = Pattern.compile("\\.\\.[\\\\/]");
        private static final Pattern INVALID_PATH_CHARS = Pattern.compile("[\\x00-\\x1f\"*:<>?|]");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top