X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7921a093fac2c72b3e981caf1007d98ca767629d..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/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))); } }