If a query that includes forward slashes is submitted on the query tool form the query sent to the CMIS repository and displayed on the results form is truncated at the first forward slash. This is due to the redirect that adds the query as a url parameter not fully escaping the query so the forward slashes are treated as path separators.

The following patch fixes this by double encoding the query.

Comments

darrenphillips’s picture

Here's the patch. Oh, and it also makes the form textarea a little bigger.

cfuller12’s picture

Assigned: Unassigned » cfuller12

Want to test this one a bit more thoroughly to make sure the double encoding doesn't cause any other issues.

cfuller12’s picture

Version: 6.x-3.01 » 6.x-3.x-dev
Status: Needs review » Fixed

Fixed as part of #1104424 - thanks!

cfuller12’s picture

Status: Fixed » Closed (fixed)

Fixed in 6.x-4.0 release.