Queries with some of the comparison predicates will result in unexpected character errors as <>, <, etc will result in an invalid XML request document. The following patch fixes the bug by wrapping the query in a CDATA tag.

Comments

darrenphillips’s picture

Here's the patch.

cfuller12’s picture

Assigned: Unassigned » cfuller12

Going to take these issues. I'll apply the patches together and do a single commit for all of them.

cfuller12’s picture

Status: Needs review » Fixed

Applied this patch (thanks!) and also double urlencoded the cmis query post to fix queries that need a '/' in the where clause (such as WHERE cmis:objectId = 'workspace://...').

cfuller12’s picture

Status: Fixed » Closed (fixed)

Fixed in 6.x-4.0 release.