Fix posting of binary data using wxHTTP.

Don't use mbc_str() which can fail to convert contents of the string created
using wxString::From8BitData(). Use To8BitData() instead.

This fixes posting of binary data via HTTP using binary content transfer
encoding.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-06-25 09:42:21 +00:00
parent d920252a21
commit 658e62e493
2 changed files with 12 additions and 1 deletions

View File

@@ -452,6 +452,7 @@ All:
- Added wxMessageQueue::Clear().
- Added wxConfig::Read(float *) overload (Terry Farnham).
- Always use decimal point (and not the current locale separator) in wxConfig.
- Fix posting of binary data using wxHTTP (Catalin Raceanu).
Unix: