[PATCH libreoffice-4-0] CMIS: URL-decode username or it won't be shown properly in d...
Bosdonnat Cedric (via Code Review)
gerrit at gerrit.libreoffice.org
Thu Feb 14 04:19:36 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2147
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/47/2147/1
CMIS: URL-decode username or it won't be shown properly in dialog
Change-Id: Icb8eaf5d841cba0d0d7efc4146b33995cdbf46f3
---
M ucb/source/ucp/cmis/cmis_url.cxx
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx
index eb779d8..40d7a25 100644
--- a/ucb/source/ucp/cmis/cmis_url.cxx
+++ b/ucb/source/ucp/cmis/cmis_url.cxx
@@ -52,12 +52,12 @@
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( );
--
To view, visit https://gerrit.libreoffice.org/2147
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb8eaf5d841cba0d0d7efc4146b33995cdbf46f3
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
More information about the LibreOffice
mailing list