Explorar o código

TFPHTTPConnection: clear FBuffer when read from it in ReadRequestContent

Ondrej Pokorny %!s(int64=4) %!d(string=hai) anos
pai
achega
d502a38f20
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/fcl-web/src/base/fphttpserver.pp

+ 1 - 0
packages/fcl-web/src/base/fphttpserver.pp

@@ -478,6 +478,7 @@ begin
     if (P>0) then
       begin
       Move(FBuffer[1],S[1],P);
+      FBuffer:='';
       L:=L-P;
       end;
     P:=P+1;