- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 213 for getPaths (0.1 seconds)
-
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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0) -
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); final Path noImagePath = noImageFile.toPath();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
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()); } });
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 63.5K bytes - Click Count (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 @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
@Test public void test_buildFilePath_questionMarkInPath() { final Path result = indexExportJob.buildFilePath("/export", "https://example.com/page?query=1", new HtmlIndexExportFormatter()); // URI.getPath() returns /page for this URL (query is separate) assertEquals(Path.of("/export/example.com/page.html"), result); } @Test public void test_buildFilePath_longPathComponent() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
final URL childUrl = new URL(url, urlValue.startsWith(":") ? url.getProtocol() + urlValue : urlValue); String childUrlStr = childUrl.toExternalForm(); final String path = childUrl.getPath(); if (path != null && path.startsWith("/../")) { String normalizedPath = path; while (normalizedPath.startsWith("/../")) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 55.3K bytes - Click Count (0)