- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for backslash (0.05 sec)
-
src/main/java/jcifs/smb/SmbFile.java
// The destination path should be relative to the share String destPath = dest.getUncPath(); // Remove leading backslash if present if (destPath.startsWith("\\")) { destPath = destPath.substring(1); } // Open the source file for renamingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return Pattern.quote(s.substring(0, s.length() - 1)) + "$"; } return Pattern.quote(s); } /** * Unescapes double backslashes in regex patterns. * Converts escaped backslashes (\\) back to single backslashes (\). * * @param s the string to unescape * @return the unescaped string */ protected String unescape(final String s) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertEquals(buffer.size(), bytesEncoded); assertEquals(4 + 2 * path.length(), bytesEncoded); } @Test @DisplayName("Should handle path with only backslashes") void testPathWithOnlyBackslashes() { String path = "\\\\\\\\\\\\"; buffer = new DfsReferralRequestBuffer(path, 2); byte[] dst = new byte[buffer.size()];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals(expectedPath.isEmpty() ? "" : expectedPath, result.getPath()); } @Test @DisplayName("Should handle path with multiple backslashes") void testPathWithMultipleBackslashes() { 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) -
okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Feb 10 11:25:47 UTC 2024 - 854.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
MsrpcShareEnum shareEnum = new MsrpcShareEnum(TEST_SERVER_NAME); assertNotNull(shareEnum); // Verify the server name is properly formatted with double backslashes try { Field servernameField = srvsvc.ShareEnumAll.class.getDeclaredField("servername"); servernameField.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
cmd/generic-handlers_test.go
} } } func Benchmark_hasBadPathComponent(t *testing.B) { tests := []struct { name string input string want bool }{ {name: "empty", input: "", want: false}, {name: "backslashes", input: `\a\a\ \\ \\\\\\\`, want: false}, {name: "long", input: strings.Repeat("a/", 2000), want: false}, {name: "long-fail", input: strings.Repeat("a/", 2000) + "../..", want: true}, } for _, tt := range tests {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/archive/zip/reader.go
} // OpenReader will open the Zip file specified by name and return a ReadCloser. // // If any file inside the archive uses a non-local name // (as defined by [filepath.IsLocal]) or a name containing backslashes // and the GODEBUG environment variable contains `zipinsecurepath=0`, // OpenReader returns the reader with an ErrInsecurePath error. // A future version of Go may introduce this behavior by default.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
else 0) while k > bazel_comm_min_line_i: backtrack_line = log_lines[k] # Don't attempt to parse multi-line commands broken up by backslashes if 'bazel ' in backtrack_line and not backtrack_line.endswith('\\'): bazel_line = BAZEL_COMMAND_RE.search(backtrack_line) if bazel_line: lines['command'] = bazel_line.group('command')Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
} } return false; } /** * Normalize a path */ private String normalizePath(String path) { // Replace forward slashes with backslashes for consistency String normalized = path.replace('/', '\\'); // Remove duplicate slashes normalized = normalized.replaceAll("\\\\+", "\\\\");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0)