- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,946 for pathOf (0.05 seconds)
-
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})
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 13.1K bytes - Click Count (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)Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (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); } }); }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
* translation. */ public BasedirBeanConfigurationPathTranslator(File basedir) { this.basedir = basedir; } @Override public File translatePath(File path) { File result = path; if (path != null && basedir != null) { if (path.isAbsolute()) { // path is already absolute, we're doneCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.1K bytes - Click Count (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"]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 285 bytes - Click Count (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. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (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 doneCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.1K bytes - Click Count (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>
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 20 08:30:43 GMT 2025 - 49.4K bytes - Click Count (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);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 13.3K bytes - Click Count (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/");
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 20.9K bytes - Click Count (0)