- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 440 for allowed (0.05 sec)
-
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:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.5K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
return userAgent; } /** * Checks if the given path is allowed according to this directive. * @param path the path to check * @return true if the path is allowed, false otherwise */ public boolean allows(final String path) { for (final String allowedPath : allowedPaths) { if (path.startsWith(allowedPath)) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10K bytes - Viewed (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"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (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 }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (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. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (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, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (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]");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
/** Cache file size threshold in bytes */ private int cacheFileSize = 1_000_000; /** Name of the extractor to use */ private String extractorName = "tikaExtractor"; /** Maximum content length allowed */ private long maxContentLength = -1; /** * Constructs a new ExtractorBuilder. * * @param crawlerContainer the crawler container * @param in the input stream to extract data from
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (0)