System/Libraries/Http: Use StrCpy instead of StrPrint when appending data to POST request

This commit is contained in:
Alec Murphy
2025-10-10 15:05:19 -04:00
parent 25c160e15c
commit ed4647effe

View File

@@ -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,