X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7921a093fac2c72b3e981caf1007d98ca767629d..4aa1406671c5d6abded83e3713b423ac4d40b7c9:/src/common/url.cpp diff --git a/src/common/url.cpp b/src/common/url.cpp index b48d5dabe7..ea5cc02230 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -242,11 +242,11 @@ wxInputStream *wxURL::GetInputStream() size_t dwPasswordPos = m_userinfo.find(':'); if (dwPasswordPos == wxString::npos) - m_protocol->SetUser(m_userinfo); + m_protocol->SetUser(Unescape(m_userinfo)); else { - m_protocol->SetUser(m_userinfo(0, dwPasswordPos)); - m_protocol->SetPassword(m_userinfo(dwPasswordPos+1, m_userinfo.length() + 1)); + m_protocol->SetUser(Unescape(m_userinfo(0, dwPasswordPos))); + m_protocol->SetPassword(Unescape(m_userinfo(dwPasswordPos+1, m_userinfo.length() + 1))); } }