projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e87e5
)
fix wxURL::GetInputStream() for URLs with special characters in credentials (closes...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Thu, 25 Dec 2008 17:03:20 +0000
(17:03 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Thu, 25 Dec 2008 17:03:20 +0000
(17:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57545
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/url.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/url.cpp
b/src/common/url.cpp
index b48d5dabe71b189f00f05f3912ea9a7aaa9a5d77..ea5cc02230fad76002e3878c5106f06a2e1a8bc0 100644
(file)
--- 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)
));
}
}