I\'m trying to send a file using POST in multipart/form data via Indy 10.5.8. I\'m using Delphi XE2 and I\'ve been trying to POST a file to a server. This is the firs time I\'ve
Do all of those .
characters represent a 00
byte? Because that looks like the result of a ASCII->UTF16 conversion. And the garbage in the Content-Disposition could be related to a conversion like that copying bytes around and getting the end of the buffer wrong, leaving you with a corrupted string.
If you can come up with code to reproduce this consistently, you should probably post a bug report on the Indy forums.