summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-02-13 07:17:29 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-02-14 13:12:26 +0100
commit519e576a3954d91b79a7fbb3fec0c2f1c7ed4c4a (patch)
treed9d5ccf49e4ac565aad5f441c1348c488c81f439
parentf0bfc7d860548f60650cf543bbf886f7f7419b6d (diff)
CMIS: URL-decode username or it won't be shown properly in dialog
-rw-r--r--ucb/source/ucp/cmis/cmis_url.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx
index eb779d800e84..40d7a2580001 100644
--- a/ucb/source/ucp/cmis/cmis_url.cxx
+++ b/ucb/source/ucp/cmis/cmis_url.cxx
@@ -52,12 +52,12 @@ namespace cmis
m_sBindingUrl = aHostUrl.GetURLNoMark( );
m_sRepositoryId = aHostUrl.GetMark( );
- m_sUser = aUrl.GetUser( );
- m_sPass = aUrl.GetPass( );
+ m_sUser = aUrl.GetUser( INetURLObject::DECODE_WITH_CHARSET );
+ m_sPass = aUrl.GetPass( INetURLObject::DECODE_WITH_CHARSET );
// Store the path to the object
m_sPath = aUrl.GetURLPath( INetURLObject::DECODE_WITH_CHARSET );
- m_sId = aUrl.GetMark( );
+ m_sId = aUrl.GetMark( INetURLObject::DECODE_WITH_CHARSET );
if ( !m_sId.isEmpty( ) )
m_sPath = rtl::OUString( );