- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 225 for validates (0.09 seconds)
-
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
*/ protected boolean isFileSystemPath(final String url) { return ComponentUtil.getProtocolHelper().isFileSystemPath(url); } /** * Validates if the URL is safe for redirection. * * @param url the URL to validate * @return true if the URL is valid for redirection, false otherwise */ protected boolean isValidRedirectUrl(final String url) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
* referenced in HTML documents. This generator extracts images from HTML content * and processes them to create thumbnail images based on configured dimensions * and format settings. * * <p>The generator validates image MIME types, processes image data through * ImageIO operations, and applies scaling and cropping to generate thumbnails * that meet the specified size requirements.</p> * */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 10.6K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 11.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
return normalizedPath.startsWith(normalizedBase); } /** * Validates that a given file is safe and does not attempt path traversal attacks. * <p> * This is a convenience method that converts File objects to Path and calls * {@link #isPathSafe(Path, Path)}. * </p> * * @param fileToCheck the file to validate (must not be {@literal null})
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
form.password = null; form.confirmPassword = null; } /** * Validates LDAP user attribute types using the configured LDAP manager. * * @param attributes the map of attributes to validate * @param throwError callback to report any validation errors */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
*/ protected void write(final String path, final byte[] data) { validateFilePath(path); LdiFileUtil.write(path, data); } /** * Validates the file path. * * @param path the file path to validate */ protected void validateFilePath(final String path) { if (StringUtil.isBlank(path)) { throw new IllegalArgumentException("File path cannot be blank.");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
return 4000; } } /** * Parses and validates field filter parameters from the request. * Only configured label values are accepted to prevent query injection. * * @param request the HTTP request * @return a map of field names to their validated filter values */ protected Map<String, String[]> parseFieldFilters(final HttpServletRequest request) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt
import org.gradle.api.tasks.VerificationException import org.gradle.api.tasks.options.Option import org.gradle.work.DisableCachingByDefault import java.io.File import java.net.URI /** * Validates and optionally fixes the computed target runtimes for projects * in the Gradle build. * * Each project may require a set of "target runtimes" that it must be able to run on.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
throw new SsoLoginException("unexpected set of artifacts received"); } } /** * Validates the OAuth2 state parameter. * @param session The HTTP session containing stored state data. * @param state The state parameter to validate. * @return The validated state data. */ protected StateData validateState(final HttpSession session, final String state) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:03:27 GMT 2026 - 56.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
new FessTimeResourceProvider(null); // Constructor may accept null, so test continues assertTrue(true); } catch (NullPointerException e) { // Expected if constructor validates input assertTrue(true); } } // Test with different time adjustments @Test public void test_withDifferentTimeAdjustments() { // Test zero adjustment
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0)