Ticket #10972: ftp_proxy_custom.patch
File ftp_proxy_custom.patch, 631 bytes (added by , 8 years ago) |
---|
-
src/engine/ftpcontrolsocket.cpp
598 598 fz::replace_substrings(account, _T("%"), _T("%%")); 599 599 600 600 std::wstring const loginSequence = engine_.GetOptions().GetOption(OPTION_FTP_PROXY_CUSTOMLOGINSEQUENCE).ToStdWstring(); 601 std::vector<std::wstring> const tokens = fz::strtok(loginSequence, L" \r\t\n");601 std::vector<std::wstring> const tokens = fz::strtok(loginSequence, L"\r\n"); 602 602 603 603 for (auto token : tokens) { 604 604 bool isHost = false;