Explorar el Código

TFPHTTPConnection: clear FBuffer when read from it in ReadRequestContent

Ondrej Pokorny hace 4 años
padre
commit
d502a38f20
Se han modificado 1 ficheros con 1 adiciones y 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;