From ed4647effe38e6ded4e1d08b7175140b93f8e649 Mon Sep 17 00:00:00 2001 From: Alec Murphy Date: Fri, 10 Oct 2025 15:05:19 -0400 Subject: [PATCH] System/Libraries/Http: Use StrCpy instead of StrPrint when appending data to POST request --- System/Libraries/Http.HC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Libraries/Http.HC b/System/Libraries/Http.HC index 98c8cc5..75adada 100644 --- a/System/Libraries/Http.HC +++ b/System/Libraries/Http.HC @@ -412,7 +412,7 @@ I64 @http_req(@http_request* req) "Content-Length: %d\r\n\r\n", req->url->path, req->url->query, req->url->host, headers_buf, StrLen(req->data)); - StrPrint(buf + StrLen(buf), req->data); + StrCpy(buf + StrLen(buf), req->data); break; case HTTP_REQ_PUT: StrPrint(buf,