]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/url.cpp
Forgot header with OSX prefix
[wxWidgets.git] / src / common / url.cpp
index b48d5dabe71b189f00f05f3912ea9a7aaa9a5d77..ea5cc02230fad76002e3878c5106f06a2e1a8bc0 100644 (file)
@@ -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)));
         }
     }