diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-06-13 14:45:48 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-06-13 14:51:26 +0200 |
commit | 6b10219eefc0d6bd0e871976d6fe781a26020c8b (patch) | |
tree | 8118f2a1b35cff437a0e988bc4af922b13dd73b4 | |
parent | f3e29add840d5c6db8c1deff6b48b3701991a0ff (diff) |
Fixed libcmis handling of related multipart content types
Change-Id: I8468286be1affc635838b5329d2df72b53f5c9de
-rw-r--r-- | libcmis/libcmis-0.3.0.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libcmis/libcmis-0.3.0.patch b/libcmis/libcmis-0.3.0.patch index 37644c8ed76d..772c828ab121 100644 --- a/libcmis/libcmis-0.3.0.patch +++ b/libcmis/libcmis-0.3.0.patch @@ -33,3 +33,17 @@ index 7c2a8e6..e7014cb 100644 contentLength = it->second->getLongs( ).front( ); return contentLength; } +diff --git src/libcmis/ws-relatedmultipart.cxx src/libcmis/ws-relatedmultipart.cxx +index ef91b4d..3a990e7 100644 +--- src/libcmis/ws-relatedmultipart.cxx ++++ src/libcmis/ws-relatedmultipart.cxx +@@ -93,6 +93,8 @@ RelatedMultipart::RelatedMultipart( const string& body, const string& contentTyp + if ( value[0] == '"' && value[value.length() - 1] == '"' ) + value = value.substr( 1, value.length( ) - 2 ); + ++ name = libcmis::trim( name ); ++ + if ( name == "start" ) + { + m_startId = value; +-- |