Test environment for CMIS server using Apache Chemistry and by default it has just username without password for authentication. But libcmis uses authentication only if both username and password are given. Corresponding patch is already applied to libcmis master. Using default patch level 1 for libcmis patches, updated existing patches. Change-Id: Id77b59324002e47258b6315d7383496fa1e9c6ae Reviewed-on: https://gerrit.libreoffice.org/17070 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
15 lines
387 B
Diff
15 lines
387 B
Diff
# -*- Mode: Diff -*-
|
|
--- a/src/libcmis/oauth2-providers.cxx
|
|
+++ b/src/libcmis/oauth2-providers.cxx
|
|
@@ -34,6 +34,10 @@
|
|
|
|
using namespace std;
|
|
|
|
+#if LIBXML_VERSION < 20621
|
|
+#define HTML_PARSE_RECOVER 0
|
|
+#endif
|
|
+
|
|
string OAuth2Providers::OAuth2Gdrive( HttpSession* session, const string& authUrl,
|
|
const string& username, const string& password )
|
|
{
|