Ticket #891 - return "Invalid Request URI" for URIs with illegal characters