- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 800 for allowed (0.1 seconds)
-
docs/en/docs/tutorial/cors.md
## Use `CORSMiddleware` { #use-corsmiddleware } You can configure it in your **FastAPI** application using the `CORSMiddleware`. * Import `CORSMiddleware`. * Create a list of allowed origins (as strings). * Add it as a "middleware" to your **FastAPI** application. You can also specify whether your backend allows:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
assertTrue(e.getMessage().contains("not allowed")); } // Should allow other paths String allowed = validator.validatePath("\\share\\allowed\\file.txt"); assertEquals("\\share\\allowed\\file.txt", allowed); } @Test public void testWhitelist() throws Exception { validator.addToWhitelist("\\share\\allowed"); // Should allow whitelisted path
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Normal authentication should be allowed assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "First attempt should be allowed"); // Record success rateLimiter.recordSuccess("user1", "192.168.1.1"); // Should still be allowed assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "After success should be allowed"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/cors/CorsHandler.java
} /** * CORS header for specifying allowed origin. */ protected static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin"; /** * CORS header for specifying allowed headers. */ protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers"; /** * CORS header for specifying allowed HTTP methods. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
cmd/auth-handler.go
if s3Err != ErrNone { return cred, s3Err } if globalIAMSys.IsAllowed(policy.Args{ AccountName: cred.AccessKey, Groups: cred.Groups, Action: policy.Action(action), ConditionValues: getConditionValues(r, "", cred), IsOwner: owner, Claims: cred.Claims, }) { // Request is allowed return the appropriate access key. return cred, ErrNone }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java
* standard CORS headers based on application configuration. */ public DefaultCorsHandler() { super(); } /** * Registers this CORS handler with the factory for configured allowed origins. * This method is automatically called after bean initialization. */ @PostConstruct public void register() { final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
} return true; } /** * Checks if the given value matches any of the specified protocols. * * @param protocols the allowed protocols * @param value the URI string to validate * @return true if the value matches allowed protocols, false otherwise */ protected static boolean check(final String[] protocols, final String value) { final String[] paths = value.split("[\r\n]");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 3.1K bytes - Click Count (0) -
fastapi/param_functions.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 68K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator.validatePath("\\share\\folder\\file.txt"); validator.validatePath("C:\\Windows\\System32"); validator.validatePath(null); // Null should be allowed validator.validatePath(""); // Empty should be allowed } @Test public void testPathTooLong() throws Exception { String longPath = "\\share" + "\\folder".repeat(5000); assertThrows(SmbException.class, () -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
} /** * Creates a custom filter that allows only the specified class patterns. * <p> * Patterns can be exact class names or use wildcards with '*' at the end. * For example: "com.example.*" allows all classes in the com.example package. * </p> * * @param allowedPatterns the patterns of classes to allowCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 8.9K bytes - Click Count (0)