From 33a69853c77904f8c46adf69e1e7e532b223ceb2 Mon Sep 17 00:00:00 2001 From: Keyur Govrani Date: Thu, 19 Feb 2026 13:15:27 +0530 Subject: [PATCH 1/2] chore: change form boundary length to 50 characters reduced the boundary length for form generation from 70 to 50. --- packages/react-native/Libraries/Network/RCTNetworking.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/Network/RCTNetworking.mm b/packages/react-native/Libraries/Network/RCTNetworking.mm index 86e80e24cde6..43da1787d8ef 100644 --- a/packages/react-native/Libraries/Network/RCTNetworking.mm +++ b/packages/react-native/Libraries/Network/RCTNetworking.mm @@ -51,7 +51,7 @@ @implementation RCTHTTPFormDataHelper { static NSString *RCTGenerateFormBoundary() { - const size_t boundaryLength = 70; + const size_t boundaryLength = 50; const char *boundaryChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_."; char *bytes = (char *)malloc(boundaryLength); From e3d609feaff3baab46eeae4872896de1e61bed32 Mon Sep 17 00:00:00 2001 From: Keyur Govrani Date: Sat, 21 Feb 2026 17:47:13 +0530 Subject: [PATCH 2/2] chore: change form boundary length to 36 characters --- packages/react-native/Libraries/Network/RCTNetworking.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/Network/RCTNetworking.mm b/packages/react-native/Libraries/Network/RCTNetworking.mm index 43da1787d8ef..b7fa4bf7975d 100644 --- a/packages/react-native/Libraries/Network/RCTNetworking.mm +++ b/packages/react-native/Libraries/Network/RCTNetworking.mm @@ -51,7 +51,7 @@ @implementation RCTHTTPFormDataHelper { static NSString *RCTGenerateFormBoundary() { - const size_t boundaryLength = 50; + const size_t boundaryLength = 36; const char *boundaryChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_."; char *bytes = (char *)malloc(boundaryLength);