Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3e9865e

Browse files
committed
Update request limit references to match code
1 parent 63fbba0 commit 3e9865e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/TECHNICAL_DEBT_IMPROVEMENT_GUIDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This guide sets baseline expectations for security, performance, and maintainabi
6464
- Use `axum-valid` with `validator` for payloads. Email fields are validated with `#[validate(email)]` and a custom check; keep one source of truth to avoid drift (see `src/modules/auth_v1/validator.rs`).
6565

6666
- Request limits
67-
- Enforce body size caps per module: the global default is 64 KiB (`src/router.rs:21`, `src/router.rs:43`), post payloads allow up to 256 KiB (`src/router.rs:32-35`), and `/media/v1` supports 2 MiB multipart uploads (`src/router.rs:39`). Keep media validation consistent with these ceilings (`src/modules/media_v1/controller.rs`).
67+
- Enforce body size caps per module: global default is 64 KiB (`src/config.rs:2`, `src/main.rs:244`), post payloads allow up to 256 KiB (`src/modules/post_v1/mod.rs:15-19`), and `/media/v1` supports 2 MiB multipart uploads (`src/modules/media_v1/mod.rs:15-17`). Keep media validation consistent with these ceilings (`src/modules/media_v1/controller.rs`).
6868

6969
## Media Handling
7070

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /