Description
The URI builder used inside JaxRsUriBuilder doesn't escape some special URI symbols (delimiters), and while the other special characters are either escaped or valid inside the path, these two cause an exception in the java.net.URI constructor. As a result, any search that would return a document containing brackets will end up as an internal server error.