- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,649 for path5b (0.38 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
* <pre> * Path baseDir = Paths.get("/var/app/data"); * Path userPath = Paths.get(userInput); * if (!FileUtil.isPathSafe(userPath, baseDir)) { * throw new SecurityException("Path traversal attempt detected"); * } * </pre> * * @param pathToCheck the path to validate (must not be {@literal null})
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java
public String regex; /** * The replacement pattern for matched paths. */ @Size(max = 1000) public String replacement; /** * The processing type for path mapping. */ @Required public String processType; /** * The sort order for this path mapping (0-2147483647). */ @Required @Min(value = 0) @Max(value = 2147483647)Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { final Path path = Paths.get(logFilePath, filename); return asStream(filename).contentTypeOctetStream().stream(out -> { try (InputStream in = Files.newInputStream(path)) { out.write(in); } }); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial008.py
from pathlib import Path from fastapi.testclient import TestClient from docs_src.custom_response import tutorial008_py39 from docs_src.custom_response.tutorial008_py39 import app client = TestClient(app) def test_get(tmp_path: Path): file_path: Path = tmp_path / "large-video-file.mp4" tutorial008_py39.some_file_path = str(file_path) test_content = b"Fake video bytes" file_path.write_bytes(test_content)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 502 bytes - Viewed (0) -
tests/test_request_params/test_form/utils.py
from typing import Any def get_body_model_name(openapi: dict[str, Any], path: str) -> str: body = openapi["paths"][path]["post"]["requestBody"] body_schema = body["content"]["application/x-www-form-urlencoded"]["schema"]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 285 bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java
/** * Postprocesses filesystem paths. For instance, a path translator might want to resolve relative paths given in the * bean configuration against some base directory. * */ public interface BeanConfigurationPathTranslator { /** * Translates the specified path. * * @param path The path to translate, may be {@code null}. * @return The translated path or {@code null} if none. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
@Override public String alignToBaseDirectory(String path, File basedir) { String result = path; if (path != null && basedir != null) { path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're doneRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.1K bytes - Viewed (0) -
pom.xml
<data> <type>files</type> <paths> <path>${project.basedir}/src/main/assemblies/files/fess</path> <path>${project.basedir}/src/main/assemblies/files/fess.in.sh</path> <path>${project.basedir}/src/main/assemblies/files/generate-thumbnail</path> <path>${project.basedir}/plugin.xml</path> </paths> <dst>${packaging.fess.bin.dir}</dst> <mapper>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 49.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
when(systemSessionMock.getData()).thenReturn(sessionDataMock); Path beforePomFile = Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath(); Path afterPomFile = Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath(); Path tempFile = Files.createTempFile("", ".pom"); Files.delete(tempFile);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 13.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
String[] values; values = storageClient.parsePath("bucket/path"); assertEquals("bucket", values[0]); assertEquals("path", values[1]); values = storageClient.parsePath("bucket/path1/path2"); assertEquals("bucket", values[0]); assertEquals("path1/path2", values[1]); values = storageClient.parsePath("bucket/");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.9K bytes - Viewed (0)