Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 5370937

Browse files
committed
fix validation payload too large
1 parent 795f193 commit 5370937

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ModelStateExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static IDictionary<string, string> CheckPayloadTooLargeAndReturnError(thi
4040
.ToLower();
4141

4242
if(
43-
errorMessage.StartsWith("failed to read the request form. multipart body length limit 1048576 ")
43+
errorMessage.StartsWith("failed to read the request form. multipart body length limit ")
4444
&&
4545
errorMessage.EndsWith(" exceeded.")
4646
)

0 commit comments

Comments
 (0)