* fix for #22664 from Benito Zander. pos() instead of comparetext was used.

git-svn-id: trunk@22143 -
This commit is contained in:
marco 2012-08-20 10:42:31 +00:00
parent 7201bd8526
commit 811b65da87

View File

@ -686,7 +686,7 @@ begin
Finally
I.Free;
end;
if Pos(ContentType,'MULTIPART/FORM-DATA')=0 then
if CompareText(ContentType,'MULTIPART/FORM-DATA')=0 then
ProcessMultiPart(M,ContentType)
else if CompareText(ContentType,'APPLICATION/X-WWW-FORM-URLENCODED')=0 then
ProcessUrlEncoded(M)