Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for _validate (0.04 sec)

  1. fastapi/openapi/models.py

                yield cls.validate
    
            @classmethod
            def validate(cls, v: Any) -> str:
                logger.warning(
                    "email-validator not installed, email fields will be treated as str.\n"
                    "To install, run: pip install email-validator"
                )
                return str(v)
    
            @classmethod
            def _validate(cls, __input_value: Any, _: Any) -> str:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates a string is not null or empty
         *
         * @param value the string to validate
         * @param fieldName the field name for error reporting
         * @return the validated string
         * @throws IllegalArgumentException if string is null or empty
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        }
    
        /**
         * Encode the JSP content.
         * @param value The value.
         * @return The encoded value.
         */
        public static String encodeJsp(final String value) {
            return value.replace("<% try{ %>", TRY_STATEMENT)
                    .replace("<% }catch(Exception e){session.invalidate();} %>", CACHE_AND_SESSION_INVALIDATE_STATEMENT);
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         * @param in the input stream to validate
         * @return true if the stream contains valid sitemap data, false otherwise
         */
        public boolean isValid(final InputStream in) {
            return isValid(in, true);
        }
    
        /**
         * Checks if the given input stream contains valid sitemap data.
         * @param in the input stream to validate
         * @param recursive whether to recursively check compressed files
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  5. 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
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. 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})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

        //                                                                        ============
    
        /**
         * Validates group attributes using LDAP manager.
         *
         * @param attributes the attributes to validate
         * @param throwError the error handler
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

            } catch (Exception e) {
                context.invalidate();
                throw new CIFSException("Failed to update preauth integrity hash for session " + sessionId, e);
            }
        }
    
        /**
         * Validates the preauth integrity for completed negotiation.
         *
         * @param sessionId the session identifier
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

         * Reloads the document index by closing and reopening it.
         *
         * @param form the action form (validated but not used for configuration)
         * @return HTML response redirecting to the maintenance page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse reloadDocIndex(final ActionForm form) {
            validate(form, messages -> {}, this::asIndexHtml);
            verifyToken(this::asIndexHtml);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                if ((newState & Smb2LeaseState.SMB2_LEASE_READ_CACHING) == 0) {
                    // Lost read cache - invalidate directory cache
                    entry.invalidate();
                }
            } else {
                // Lease completely broken - invalidate cache
                entry.invalidate();
            }
    
            if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top