mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-08 03:59:54 +02:00
System/Libraries/Http: Use StrCpy instead of StrPrint when appending data to POST request
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user