Skip to content

Commit

Permalink
Issue #12431 use MAX_LENGTH_DEFAULT not MAX_FIELDS_DEFAULT (#12433)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel authored Oct 30, 2024
1 parent 6b1efe2 commit 17e5820
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 17e5820

Please sign in to comment.