- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 663 for simplest (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
assertTrue("Valid path in subdirectory should be allowed", result); } @Test public void test_isValidUploadPath_pathTraversal_simple() throws Exception { // Test simple path traversal attack File baseDir = new File(tempDir.toFile(), "images"); baseDir.mkdirs(); File maliciousFile = new File(baseDir, "../../../etc/passwd");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
// Verify a timestamp was properly formatted assertNotNull(result); assertTrue(result.length() > "\"timestamp\":\"\"".length()); } // Test appendException method with simple exception @Test public void test_appendException_simpleException() { StringBuilder buf = new StringBuilder(); Exception exception = new RuntimeException("Test error message");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
if (data == null || data.length == 0) { return 1.0; } if (algorithm == COMPRESSION_NONE) { return 1.0; } // Simple heuristic based on data entropy // In practice, this would be more sophisticated int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/en/mkdocs.yml
- tutorial/dependencies/dependencies-with-yield.md - Security: - tutorial/security/index.md - tutorial/security/first-steps.md - tutorial/security/get-current-user.md - tutorial/security/simple-oauth2.md - tutorial/security/oauth2-jwt.md - tutorial/middleware.md - tutorial/cors.md - tutorial/sql-databases.md - tutorial/bigger-applications.md - tutorial/stream-json-lines.mdCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/ko/docs/advanced/security/http-basic-auth.md
그리고 값이 `Basic`이고 선택적으로 `realm` 파라미터를 포함하는 `WWW-Authenticate` 헤더를 반환합니다. 이는 브라우저가 사용자명과 비밀번호를 입력하는 통합 프롬프트를 표시하도록 알려줍니다. 그다음 사용자명과 비밀번호를 입력하면, 브라우저가 자동으로 해당 값을 헤더에 담아 전송합니다. ## 간단한 HTTP Basic Auth { #simple-http-basic-auth } * `HTTPBasic`과 `HTTPBasicCredentials`를 임포트합니다. * `HTTPBasic`을 사용해 "`security` scheme"을 생성합니다. * *경로 처리*에서 dependency로 해당 `security`를 사용합니다. * `HTTPBasicCredentials` 타입의 객체를 반환합니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 5.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-models.md
# 更多模型 { #extra-models } 书接上文,多个关联模型这种情况很常见。 特别是用户模型,因为: * **输入模型**应该含密码 * **输出模型**不应含密码 * **数据库模型**可能需要包含哈希后的密码 /// danger | 危险 不要存储用户的明文密码。始终只存储之后可用于校验的“安全哈希”。 如果你还不了解,可以在[安全性章节](security/simple-oauth2.md#password-hashing)中学习什么是“密码哈希”。 /// ## 多个模型 { #multiple-models } 下面的代码展示了不同模型处理密码字段的方式,及使用位置的大致思路: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/extra-models.md
# 額外的模型 { #extra-models } 延續前一個範例,通常會有不只一個彼此相關的模型。 對使用者模型尤其如此,因為: * 「輸入模型」需要能包含密碼。 * 「輸出模型」不應包含密碼。 * 「資料庫模型」通常需要儲存雜湊後的密碼。 /// danger 切勿儲存使用者的明文密碼。務必只儲存可供驗證的「安全雜湊」。 若你還不清楚,稍後會在[安全性章節](security/simple-oauth2.md#password-hashing)學到什麼是「密碼雜湊」。 /// ## 多個模型 { #multiple-models } 以下是模型大致長相、與其密碼欄位以及它們被使用的位置: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
} // Convert modules element to subprojects Element modulesElement = root.child(MODULES).orElse(null); if (modulesElement != null) { // domtrip makes this much simpler - just change the element name // The formatting and structure are preserved automatically modulesElement.name(SUBPROJECTS); context.detail("Converted <modules> to <subprojects>");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
* instance may or may not be unique across different calls. */ private @Nullable Object generate(TypeToken<?> type) { Class<?> rawType = type.getRawType(); List<Object> samples = sampleInstances.get(rawType); Object sample = pickInstance(samples, null); if (sample != null) { return sample; } if (rawType.isEnum()) { return pickInstance(rawType.getEnumConstants(), null); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0)