Description
current implementation from UriInfoImpl:
public URI getRequestUri() { String path = getAbsolutePathAsString(); String queries = (String)message.get(Message.QUERY_STRING); if (queries != null) { path += "?" + queries; } return URI.create(path); }
This fails for URIs that have characters that have to be escaped as of rfc2396.
Examples: http://localhost:13080/services/rest/crypto/hash;algorithm=S{A/text/foo or http://localhost:13080/services/rest/crypto/hash;algorithm=S^A/text/foo
fail with Exception during getRequestUri() due to { or ^ as part of the uri