I have the following in my URI
uri.query = [id: "urn://salina/search/xplorer/XplorerApp",criteria:"{'includeNonGeotagged':'true','freetext':\{'text':" + "'" + "${searchString}" +"'}}",contentType:"rss20"]
I get an error saying java.net.URISyntaxException: Illegal character in query at index 94: https://pix.us.baesystems.com/search/query?id=urn://salina/search/xplorer/XplorerApp&criteria={'includeNonGeotagged':'true','freetext':{'text':'test'}}&contentType=rss20
when I dump the value of uri.toString() and put it in a browser, it works fine, so I can't figure out what the issue here is...