Skip to content

Commit

Permalink
fixed THttpClientSocket.Request when incoming headers are CRLF termin…
Browse files Browse the repository at this point in the history
…ated
  • Loading branch information
Arnaud Bouchez committed Apr 30, 2022
1 parent 46a4e08 commit 9e781b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
@@ -1 +1 @@
'2.0.3297'
'2.0.3298'
2 changes: 1 addition & 1 deletion src/net/mormot.net.client.pas
Expand Up @@ -1645,7 +1645,7 @@ function THttpClientSocket.Request(const url, method: RawUtf8;
ctxt.url := url;
ctxt.method := method;
ctxt.KeepAlive := KeepAlive;
ctxt.header := header;
ctxt.header := TrimU(header);
ctxt.Data := Data;
ctxt.DataType := DataType;
ctxt.InStream := InStream;
Expand Down

0 comments on commit 9e781b4

Please sign in to comment.