# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # $(eval $(call gb_Library_Library,cli_uno)) $(eval $(call gb_Library_add_ldflags,cli_uno,\ -ignore:4248 \ )) $(eval $(call gb_Library_use_udk_api,cli_uno)) $(eval $(call gb_Library_use_libraries,cli_uno,\ cppu \ sal \ )) $(eval $(call gb_Library_use_system_win32_libs,cli_uno,\ mscoree \ msvcmrt \ )) $(eval $(call gb_Library_add_cxxclrobjects,cli_uno,\ cli_ure/source/uno_bridge/cli_bridge \ cli_ure/source/uno_bridge/cli_data \ cli_ure/source/uno_bridge/cli_environment \ cli_ure/source/uno_bridge/cli_proxy \ cli_ure/source/uno_bridge/cli_uno \ )) $(call gb_Library_get_headers_target,cli_uno) :| \ $(call gb_CliLibrary_get_target,cli_ure) \ $(call gb_CliUnoApi_get_target,cli_uretypes) # vim: set noet sw=4 ts=4: er on the other hand should have the original URL because ContentProviderImplHelper::queryExistingContents() caching likely relies on that. Change-Id: I20d36ed03ba7ce221d6946b1c996071f4130ec7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169114 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
1. in libcmis, pass the CurlInitProtocolsFunction to all subclasses of
   HttpSession that need it, and add 2 upstream fixes to pass it around

2. Arrange for InitCurl_easy to be called in UCP RepoContent as well

3. If AllowInsecureProtocols is disabled, automatically upgrade
   http connections to https, as is already done in webdav-curl.
   Do this in Content and RepoContent; hopefully should work
   to convert when m_aURL member is initialised;
   the m_xIdentifier on the other hand should have the original
   URL because ContentProviderImplHelper::queryExistingContents()
   caching likely relies on that.

Change-Id: I20d36ed03ba7ce221d6946b1c996071f4130ec7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169114
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>