external/libcmis/UnpackedTarball_cmis.mk | 1 - external/libcmis/libcmis-curl-redirects.patch.1 | 24 ------------------------ 2 files changed, 25 deletions(-)
New commits: commit 8d3a4fa775a23371aed58bbbab1d5a7537df5110 Author: Michael Stahl <mst...@redhat.com> Date: Wed Aug 9 20:52:17 2017 +0200 Revert "libcmis: configure curl to only allow redirects to HTTP/HTTPS" This reverts commit e845507bc22a166ec172a4b4d9da120a16f8a964. Actually this is already set by HttpSession::initProtocols(), and SharePointSession is a sub-class of HttpSession. Change-Id: Ie24cc0c6fcf45195ae4aceafb3da1b0d0ea3c9e6 diff --git a/external/libcmis/UnpackedTarball_cmis.mk b/external/libcmis/UnpackedTarball_cmis.mk index a993e9fc111e..a29b1e7cd6f8 100644 --- a/external/libcmis/UnpackedTarball_cmis.mk +++ b/external/libcmis/UnpackedTarball_cmis.mk @@ -20,7 +20,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,cmis, \ external/libcmis/libcmis-fix-google-drive-2.patch \ external/libcmis/libcmis-sharepoint-repository-root.patch \ external/libcmis/libcmis-fix-error-handling.patch \ - external/libcmis/libcmis-curl-redirects.patch.1 \ )) ifeq ($(OS),WNT) diff --git a/external/libcmis/libcmis-curl-redirects.patch.1 b/external/libcmis/libcmis-curl-redirects.patch.1 deleted file mode 100644 index a429598543dc..000000000000 --- a/external/libcmis/libcmis-curl-redirects.patch.1 +++ /dev/null @@ -1,24 +0,0 @@ -configure curl to only allow redirects to HTTP/HTTPS - ---- cmis/src/libcmis/http-session.cxx.orig 2017-08-09 17:39:11.686928636 +0200 -+++ cmis/src/libcmis/http-session.cxx 2017-08-09 17:40:10.398933383 +0200 -@@ -525,6 +525,8 @@ - { - // Redirect - curl_easy_setopt( m_curlHandle, CURLOPT_FOLLOWLOCATION, redirect); -+ // only allow redirect to http:// and https:// -+ curl_easy_setopt(m_curlHandle, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); - - // Activate the cookie engine - curl_easy_setopt( m_curlHandle, CURLOPT_COOKIEFILE, "" ); ---- cmis/src/libcmis/sharepoint-session.cxx.orig 2017-08-09 17:39:19.974929306 +0200 -+++ cmis/src/libcmis/sharepoint-session.cxx 2017-08-09 17:39:42.500931127 +0200 -@@ -204,6 +204,8 @@ - { - // Redirect - curl_easy_setopt( m_curlHandle, CURLOPT_FOLLOWLOCATION, redirect); -+ // only allow redirect to http:// and https:// -+ curl_easy_setopt(m_curlHandle, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); - - // Activate the cookie engine - curl_easy_setopt( m_curlHandle, CURLOPT_COOKIEFILE, "" ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits