Closed (fixed)
Project:
CMIS API
Version:
6.x-3.01
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Mar 2011 at 18:34 UTC
Updated:
7 Apr 2011 at 06:40 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | cmis_common-special_characters_in_queries-1104424-1.patch | 407 bytes | darrenphillips |
Comments
Comment #1
darrenphillips commentedHere's the patch.
Comment #2
cfuller12 commentedGoing to take these issues. I'll apply the patches together and do a single commit for all of them.
Comment #3
cfuller12 commentedApplied 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://...').
Comment #4
cfuller12 commentedFixed in 6.x-4.0 release.