Skip to content

Commit

Permalink
Issue #12431 use MAX_LENGTH_DEFAULT not MAX_FIELDS_DEFAULT
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel committed Oct 29, 2024
1 parent fd11d25 commit 61be06f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static CompletableFuture<Fields> from(Request request)
public static CompletableFuture<Fields> from(Request request, Charset charset)
{
int maxFields = getContextAttribute(request.getContext(), FormFields.MAX_FIELDS_ATTRIBUTE, FormFields.MAX_FIELDS_DEFAULT);
int maxLength = getContextAttribute(request.getContext(), FormFields.MAX_LENGTH_ATTRIBUTE, FormFields.MAX_FIELDS_DEFAULT);
int maxLength = getContextAttribute(request.getContext(), FormFields.MAX_LENGTH_ATTRIBUTE, FormFields.MAX_LENGTH_DEFAULT);
return from(request, charset, maxFields, maxLength);
}

Expand Down

0 comments on commit 61be06f

Please sign in to comment.