Skip to content

Commit eb7b5af

Browse files
committedJun 21, 2023
Make sure there's a ':' separating host/ip and port in the HTTP POST
1 parent f648fca commit eb7b5af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/http_client.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ bool HttpClient::sendJson(const JsonWriterStatic<JSON_WRITER_BUFFER_SIZE> &json)
125125
client.print(" HTTP/1.1\r\n");
126126
client.print("Host: ");
127127
client.print(use_host ? host : ip.toString());
128+
client.print(":");
128129
client.print(port);
129130
client.print("\r\n");
130131
client.print("User-Agent: argon/0.0.1\r\n");

0 commit comments

Comments
 (0)
Please sign in to comment.