[Libreoffice-commits] core.git: ucb/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 1 20:12:42 UTC 2020
ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit afad46c4e891359aad7a829e704e627e1039fc33
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Apr 1 19:31:12 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Apr 1 22:12:09 2020 +0200
crashtesting: assert on loading fdo102527-1.html
Change-Id: I3978a2570f61c68fe080c6143924fcacee0784fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91530
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx b/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx
index e124bfd524dd..8ac37f2524c0 100644
--- a/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx
@@ -53,8 +53,8 @@ void process_headers( ne_request * req,
#endif
while ( ( cursor = ne_response_header_iterate( req, cursor,
&name, &value ) ) != nullptr ) {
- OUString aHeaderName( OUString::createFromAscii( name ) );
- OUString aHeaderValue( OUString::createFromAscii( value ) );
+ OUString aHeaderName(name, strlen(name), RTL_TEXTENCODING_ASCII_US);
+ OUString aHeaderValue(value, strlen(value), RTL_TEXTENCODING_ASCII_US);
SAL_INFO( "ucb.ucp.webdav", "HEAD - received header: " << aHeaderName << ":" << aHeaderValue);
More information about the Libreoffice-commits
mailing list