mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-10 02:53:16 +08:00
These functions returned strings of wrong size, with some junk after the end of the actual string, due to a confusion between the size of the buffer in bytes used by the WinHTTP functions and the length of the buffer in (wide) characters used by wxWCharBuffer. Fix this and add a unit test checking that the expected header is returned. See #22549. Closes #22181.