EldoS | Feel safer!

Software components for data protection, secure storage and transfer

POST with string encoding bug

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
Posted: 04/13/2015 11:03:51
by Alfred Robinson (Basic support level)
Joined: 04/13/2015
Posts: 1


SecureBlackbox's TElHTTPSClient.Post(string URL, string Content) has a bug with handling UTF8 encoding: it uses Content.Length (UTF16 characters count) as a payload size (which is UTF8-encoded bytes count). So multibyte characters will lead to sending of a broken data.


P.S. https://eldos.eu has not valid certificate - issued for eldos.com. You'd better fix this as well ;)
Posted: 04/13/2015 11:21:59
by Eugene Mayevski (EldoS Corp.)

Thank you for the report.

The issue has been fixed in the latest build (12.0.269), which is currently on the site. Apparently nobody used that overload, at least with UTF8 data, and the tests don't cover this variant.

Sincerely yours
Eugene Mayevski



Topic viewed 541 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!