- Sort Score
- Result 10 results
- Languages All
Results 211 - 218 of 218 for get_path (0.04 sec)
-
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) -
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 @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
} @Test void testDfsInfo1_EncodeDecode() throws NdrException { netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1(); info1.entry_path = "test_path"; ByteArrayOutputStream bos = new ByteArrayOutputStream(); // Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
throws java.io.IOException; public static String removeExtension(String); public static String getExtension(String); public static String removePath(String); public static String removePath(String, char); public static String getPath(String); public static String getPath(String, char); public static void copyFileToDirectory(String, String) throws java.io.IOException; public static void copyFileToDirectory(java.io.File, java.io.File) throws java.io.IOException; public static void copyFile(java.io.File,...
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 164.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
SmbFile file = new SmbFile(baseUrl + "shared/path/file.txt", context); assertEquals("file.txt", file.getName(), "Name should be extracted correctly"); assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly"); assertEquals("shared", file.getShare(), "Share should be extracted correctly"); assertNotNull(file.getParent(), "Parent should not be null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
cmd/xl-storage.go
} volumeDir, err := s.getVolDir(volume) if err != nil { return err } baseDir := pathJoin(volumeDir, path+slashSeparator) metaPath := pathutil.Join(baseDir, xlStorageFormatFile) buf, err := s.readAllData(ctx, volume, volumeDir, metaPath) if err != nil { return err } defer metaDataPoolPut(buf) if !isXL2V1Format(buf) { return nil } var xl xlMetaV2
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 91.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
assertEquals(expected, a); } private void assertPathWithNormalizedFileSeparators(Object value) { assertEquals(new File(value.toString()).getPath(), value.toString()); } private PomTestWrapper buildPom(String pomPath, String... profileIds) throws Exception { return buildPom(pomPath, null, null, profileIds); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 94.8K bytes - Viewed (0)