Opened 3 years ago

Closed 3 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 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by Tommy Wu

Attachment: proxy_user.patch added

comment:1 Changed 3 years ago by Tim Kosse

Resolution: fixed
Status: newclosed

Thanks, applied.

Note: See TracTickets for help on using tickets.