Opened 8 years ago

Closed 8 years ago

#11005 closed Patch (fixed)

GetUser()/GetPass() in CProxySocket should use fz::to_wstring_from_utf8()

Reported by: Tommy Wu Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: 3.22 Operating system type: Windows
Operating system version: Windows 10

Description

in CProxySocket, it set m_user/m_pass from UTF-8 via fz::to_utf8().
but GetUser() and GetPass() only convert it from std::string to std::wstring, it might get wrong string for unicode username/password.

Attachments (1)

proxy_user.patch (424 bytes ) - added by Tommy Wu 8 years ago.

Download all attachments as: .zip

Change History (2)

by Tommy Wu, 8 years ago

Attachment: proxy_user.patch added

comment:1 by Tim Kosse, 8 years ago

Resolution: fixed
Status: newclosed

Thanks, applied.

Note: See TracTickets for help on using tickets.