Default max argument sizes #12

Open
opened 2026-05-23 21:14:57 +02:00 by c.fahner · 0 comments
Owner

String arguments should have a default max length which can be overridden using a #[MaxLength] argument validator.

List or map arguments should have a default max count which can be overridden using a #[MaxCount] argument validator.

Setting a default is necessary to prevent every argument of potentially infinite size from being a (D)DoS amplifier.

String arguments should have a default max length which can be overridden using a `#[MaxLength]` argument validator. List or map arguments should have a default max count which can be overridden using a `#[MaxCount]` argument validator. Setting a default is necessary to prevent every argument of potentially infinite size from being a (D)DoS amplifier.
c.fahner added this to the v0.2 milestone 2026-05-23 21:14:57 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slendium/framework#12
No description provided.