diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-04-01 19:31:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-04-01 22:12:09 +0200 |
commit | afad46c4e891359aad7a829e704e627e1039fc33 (patch) | |
tree | df40f67ca29c23cf8e3feab8268968ef28012c5c | |
parent | ffe2cfcf566fe2d987218bc762461769fa8fcd76 (diff) |
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@redhat.com>
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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); |